Browse Source

SidePanel: Fix shadow drawing artefact on hi-res screens

v7.0.9
reuk 2 years ago
parent
commit
eee7200629
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      modules/juce_gui_basics/layout/juce_SidePanel.cpp

+ 2
- 1
modules/juce_gui_basics/layout/juce_SidePanel.cpp View File

@@ -159,7 +159,8 @@ void SidePanel::paint (Graphics& g)
: shadowArea.getTopLeft()).toFloat(), false));
g.fillRect (shadowArea);
g.excludeClipRegion (shadowArea);
g.reduceClipRegion (getLocalBounds().withTrimmedRight (shadowArea.getWidth())
.withX (isOnLeft ? 0 : shadowArea.getWidth()));
g.fillAll (bgColour);
}


Loading…
Cancel
Save