mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 21:41:02 +00:00
Switch multiple displays flag in runtime
Already created ui::Window are not modified and closed/reopened.
This commit is contained in:
parent
c1be8f6727
commit
660407c9b2
@ -778,6 +778,10 @@ public:
|
||||
warnings));
|
||||
}
|
||||
|
||||
// Probably it's safe to switch this flag in runtime
|
||||
if (m_pref.experimental.multipleWindows() != ui::get_multiple_displays())
|
||||
ui::set_multiple_displays(m_pref.experimental.multipleWindows());
|
||||
|
||||
if (reset_screen)
|
||||
updateScreenScaling();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user