mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-31 16:09:28 +02:00
Remove lines from tooldocks
Removes horizontal lines from tooldocks Signed-off-by: akleja <storspov@gmail.com>
This commit is contained in:
parent
cc7c659d6e
commit
55f5ef8359
@ -918,26 +918,6 @@ void ToolDock::OnPaint( wxPaintEvent & WXUNUSED(event) )
|
||||
if (!toolbar)
|
||||
continue;
|
||||
|
||||
wxRect r = toolbar->GetRect();
|
||||
|
||||
// Draw a horizontal line under the bar extending to the right edge of
|
||||
// the dock
|
||||
AColor::Line( dc,
|
||||
r.GetLeft(),
|
||||
r.GetBottom() + 1,
|
||||
sz.GetWidth(),
|
||||
r.GetBottom() + 1 );
|
||||
|
||||
// For all bars but the last...
|
||||
// ...and for bars that aren't the last in a row, draw a
|
||||
// vertical gap line
|
||||
if (!mConfiguration.IsRightmost(toolbar)) {
|
||||
AColor::Line(dc,
|
||||
r.GetRight() + 1,
|
||||
r.GetTop(),
|
||||
r.GetRight() + 1,
|
||||
r.GetBottom() + 1 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user