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),
|
wxCommandEventHandler(LyricsWindow::OnTimer),
|
||||||
NULL,
|
NULL,
|
||||||
this);
|
this);
|
||||||
|
Center();
|
||||||
}
|
}
|
||||||
|
|
||||||
LyricsWindow::~LyricsWindow()
|
LyricsWindow::~LyricsWindow()
|
||||||
|
@ -1512,7 +1512,8 @@ MixerBoardFrame::MixerBoardFrame(AudacityProject* parent)
|
|||||||
#endif
|
#endif
|
||||||
SetIcon(ic);
|
SetIcon(ic);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Center();
|
||||||
}
|
}
|
||||||
|
|
||||||
MixerBoardFrame::~MixerBoardFrame()
|
MixerBoardFrame::~MixerBoardFrame()
|
||||||
|
@ -120,7 +120,7 @@ ScreenFramePtr mFrame;
|
|||||||
void OpenScreenshotTools()
|
void OpenScreenshotTools()
|
||||||
{
|
{
|
||||||
if (!mFrame) {
|
if (!mFrame) {
|
||||||
mFrame = ScreenFramePtr{ safenew ScreenFrame(NULL, -1) };
|
mFrame = ScreenFramePtr{ safenew ScreenFrame(wxGetApp().GetTopWindow(), -1) };
|
||||||
}
|
}
|
||||||
mFrame->Show();
|
mFrame->Show();
|
||||||
mFrame->Raise();
|
mFrame->Raise();
|
||||||
@ -298,6 +298,7 @@ ScreenFrame::ScreenFrame(wxWindow * parent, wxWindowID id)
|
|||||||
// The monitoring will switch off temporarily
|
// The monitoring will switch off temporarily
|
||||||
// because we've switched monitor mid play.
|
// because we've switched monitor mid play.
|
||||||
mContext.GetProject()->GetToolManager()->Reset();
|
mContext.GetProject()->GetToolManager()->Reset();
|
||||||
|
Center();
|
||||||
}
|
}
|
||||||
|
|
||||||
ScreenFrame::~ScreenFrame()
|
ScreenFrame::~ScreenFrame()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user