Fix frequently switching visibility

This commit is contained in:
reionwong 2021-06-24 16:27:04 +08:00
parent 9458b8fb55
commit 48334a75aa

View file

@ -250,6 +250,8 @@ void MainWindow::onVisibilityChanged()
{
// Always show
if (m_settings->visibility() == DockSettings::AlwaysShow) {
m_hideTimer->stop();
setGeometry(windowRect());
setVisible(true);
updateViewStruts();