mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-05 06:39:26 +02:00
Bug2026: drawing channel separator on Windows...
... This shouldn't make a difference, but it does. I suspect MSVC 2017 compiler bugs still remain in implementing braced initialization.
This commit is contained in:
parent
50cf2e9a1f
commit
03e67b9bcd
@ -1769,7 +1769,7 @@ void TrackPanel::DrawSash(
|
||||
rec.width -= labelw - rec.x;
|
||||
rec.x = labelw;
|
||||
|
||||
dc->DrawRectangle( wxRect{ rec }.Inflate( 0, -kBorderThickness ) );
|
||||
dc->DrawRectangle( wxRect( rec ).Inflate( 0, -kBorderThickness ) );
|
||||
|
||||
// These lines stroke over what is otherwise "border" of each channel
|
||||
dc->SetBrush(*wxTRANSPARENT_BRUSH);
|
||||
|
Loading…
x
Reference in New Issue
Block a user