mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-03 07:33:49 +01:00
Remove lines from tooldocks
Removes horizontal lines from tooldocks Signed-off-by: akleja <storspov@gmail.com>
This commit is contained in:
committed by
Panagiotis Vasilopoulos
parent
cc7c659d6e
commit
55f5ef8359
@@ -918,26 +918,6 @@ void ToolDock::OnPaint( wxPaintEvent & WXUNUSED(event) )
|
|||||||
if (!toolbar)
|
if (!toolbar)
|
||||||
continue;
|
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 );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user