mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-30 02:50:05 +00:00
Removed an old piece of code that hard-coded a dark border around non-resizable non-native DocumentWindows
This commit is contained in:
parent
82b0a3628b
commit
3a061ad319
1 changed files with 0 additions and 9 deletions
|
|
@ -188,15 +188,6 @@ void DocumentWindow::paint (Graphics& g)
|
|||
{
|
||||
ResizableWindow::paint (g);
|
||||
|
||||
if (resizableBorder == nullptr)
|
||||
{
|
||||
RectangleList<int> border (getLocalBounds());
|
||||
border.subtract (getBorderThickness().subtractedFrom (getLocalBounds()));
|
||||
|
||||
g.setColour (getBackgroundColour().overlaidWith (Colour (0x80000000)));
|
||||
g.fillRectList (border);
|
||||
}
|
||||
|
||||
const Rectangle<int> titleBarArea (getTitleBarArea());
|
||||
g.reduceClipRegion (titleBarArea);
|
||||
g.setOrigin (titleBarArea.getPosition());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue