mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-22 06:01:25 +01:00
ToolBar.cpp: remove excessive drawing on reset (as well as other resizing/positioning functions.)
Was causing an issue with the DeviceToolBar (discussed in bug 11,) but this change will speed up redraw of other toolbars as well.
This commit is contained in:
@@ -244,9 +244,6 @@ void ToolDock::LayoutToolBars()
|
||||
ct->SetPosition( wxPoint( cpos.x, cpos.y ) );
|
||||
}
|
||||
|
||||
// Resize/position elements for toolbars that change (like device toolbar)
|
||||
ct->Layout();
|
||||
|
||||
// Remember for next iteration
|
||||
lt = ct;
|
||||
lpos = cpos;
|
||||
|
||||
Reference in New Issue
Block a user