mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-05 16:43:52 +01:00
Bug 2402 - Mac: Zoomed in, timeline still zoomed out.
This commit is contained in:
@@ -302,6 +302,16 @@ void EditToolBar::OnButton(wxCommandEvent &event)
|
||||
const CommandContext context( *p );
|
||||
MacroCommands::HandleTextualCommand( cm,
|
||||
EditToolbarButtonList[id].commandName, context, flags, false);
|
||||
|
||||
#if defined(__WXMAC__)
|
||||
// Bug 2402
|
||||
// LLL: It seems that on the Mac the IDLE events are processed
|
||||
// differently than on Windows/GTK and the AdornedRulerPanel's
|
||||
// OnPaint() method gets called sooner that expected. This is
|
||||
// evident when zooming from this toolbar only. When zooming from
|
||||
// the Menu or from keyboard ommand, the zooming works correctly.
|
||||
wxTheApp->ProcessIdle();
|
||||
#endif
|
||||
}
|
||||
|
||||
static RegisteredToolbarFactory factory{ EditBarID,
|
||||
|
||||
Reference in New Issue
Block a user