1
0
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:
akleja 2021-08-09 03:01:31 +02:00 committed by Panagiotis Vasilopoulos
parent cc7c659d6e
commit 55f5ef8359
No known key found for this signature in database
GPG Key ID: FD806FDB3B2C5270

View File

@ -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 );
}
}
}