mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 08:38:39 +02:00
Bug 1607 - 2nd Screen issue with MixerBoard and Karaoke Window
Also Screenshot tools. No joy for log-window, as that is created before Audacity starts up and recognises it is on the second screen.
This commit is contained in:
parent
c8b2cc9d31
commit
18cec363c3
@ -130,6 +130,7 @@ LyricsWindow::LyricsWindow(AudacityProject *parent):
|
||||
wxCommandEventHandler(LyricsWindow::OnTimer),
|
||||
NULL,
|
||||
this);
|
||||
Center();
|
||||
}
|
||||
|
||||
LyricsWindow::~LyricsWindow()
|
||||
|
@ -1513,6 +1513,7 @@ MixerBoardFrame::MixerBoardFrame(AudacityProject* parent)
|
||||
SetIcon(ic);
|
||||
}
|
||||
#endif
|
||||
Center();
|
||||
}
|
||||
|
||||
MixerBoardFrame::~MixerBoardFrame()
|
||||
|
@ -120,7 +120,7 @@ ScreenFramePtr mFrame;
|
||||
void OpenScreenshotTools()
|
||||
{
|
||||
if (!mFrame) {
|
||||
mFrame = ScreenFramePtr{ safenew ScreenFrame(NULL, -1) };
|
||||
mFrame = ScreenFramePtr{ safenew ScreenFrame(wxGetApp().GetTopWindow(), -1) };
|
||||
}
|
||||
mFrame->Show();
|
||||
mFrame->Raise();
|
||||
@ -298,6 +298,7 @@ ScreenFrame::ScreenFrame(wxWindow * parent, wxWindowID id)
|
||||
// The monitoring will switch off temporarily
|
||||
// because we've switched monitor mid play.
|
||||
mContext.GetProject()->GetToolManager()->Reset();
|
||||
Center();
|
||||
}
|
||||
|
||||
ScreenFrame::~ScreenFrame()
|
||||
|
Loading…
x
Reference in New Issue
Block a user