Skip to content

Commit

Permalink
Two tiny alignment and stroke width things
Browse files Browse the repository at this point in the history
for sample pane
  • Loading branch information
baconpaul committed Sep 3, 2024
1 parent 9aed248 commit b32dc0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ void SampleWaveform::paint(juce::Graphics &g)
g.fillPath(lowerFill[ch]);

g.setColour(a1a);
g.strokePath(upperStroke[ch], juce::PathStrokeType(1));
g.strokePath(lowerStroke[ch], juce::PathStrokeType(1));
g.strokePath(upperStroke[ch], juce::PathStrokeType(0.5));
g.strokePath(lowerStroke[ch], juce::PathStrokeType(0.5));
}
}
if (v.loopActive)
Expand Down Expand Up @@ -521,12 +521,12 @@ void SampleWaveform::paint(juce::Graphics &g)
g.fillPath(lowerFill[ch]);

g.setColour(a1a);
g.strokePath(upperStroke[ch], juce::PathStrokeType(1));
g.strokePath(lowerStroke[ch], juce::PathStrokeType(1));
g.strokePath(upperStroke[ch], juce::PathStrokeType(0.5));
g.strokePath(lowerStroke[ch], juce::PathStrokeType(0.5));

g.setColour(a2a.withAlpha(0.32f));
g.strokePath(upperStroke[ch], juce::PathStrokeType(1));
g.strokePath(lowerStroke[ch], juce::PathStrokeType(1));
g.strokePath(upperStroke[ch], juce::PathStrokeType(0.5));
g.strokePath(lowerStroke[ch], juce::PathStrokeType(0.5));
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ void VariantDisplay::resized()
editAllButton->setBounds(hP(55));
fileInfoButton->widget->setBounds(hP(hl.getHeight()));
fileLabel->setBounds(hP(20));
fileButton->setBounds(hP(-18));
fileButton->setBounds(hP(-14));

auto jogs = hP(18);
auto jogs = hP(14);
prevFileButton->setBounds(jogs.withTrimmedBottom(jogs.getHeight() / 2));
nextFileButton->setBounds(jogs.withTrimmedTop(jogs.getHeight() / 2));

Expand Down

0 comments on commit b32dc0d

Please sign in to comment.