Skip to content

Commit ec03712

Browse files
committed
Small UI detail fixes
1 parent 924864d commit ec03712

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Source/Sidebar/Sidebar.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ void Sidebar::paint(Graphics& g)
124124
{
125125
if (!sidebarHidden) {
126126
g.setColour(PlugDataColours::sidebarBackgroundColour);
127-
g.fillRect(0, 30, getWidth(), getHeight());
127+
g.fillRect(0, 30, getWidth() - 12, getHeight() - 12);
128+
g.fillRoundedRectangle(0, 0, getWidth(), getHeight(), Corners::windowCornerRadius);
128129

129130
auto panelName = panelNames[currentPanel];
130131
if (inspectorButton.isInspectorAuto() && inspector->isVisible())

Source/Toolbar.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,6 +1257,8 @@ AudioToolbar::AudioToolbar(PluginProcessor* processor, PluginEditor* editor)
12571257
addAndMakeVisible(*volumeComponent);
12581258
addAndMakeVisible(*powerButton);
12591259

1260+
setInterceptsMouseClicks(false, true);
1261+
12601262
lookAndFeelChanged();
12611263
}
12621264

0 commit comments

Comments
 (0)