diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-03-28 23:18:49 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-03-29 00:04:46 +0200 |
commit | d8d63e65389c04e3725ae46231e50ec71e7040a9 (patch) | |
tree | c4a338e3f9fc9f871fe284b62d47af145ec0b4d4 | |
parent | 34c92f288449406377e41cf68c289a9b1681cf3a (diff) |
opentrack: require more vertical space for embedding
-rw-r--r-- | opentrack/main-window.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/main-window.cpp b/opentrack/main-window.cpp index c514f304..1fded8e0 100644 --- a/opentrack/main-window.cpp +++ b/opentrack/main-window.cpp @@ -602,7 +602,7 @@ bool main_window::module_tabs_enabled() const return false; // Windows 10: 40px, Windows 11: 48px, KDE: 51px constexpr int taskbar_size = 51; - constexpr int min_avail_height = 864 - taskbar_size; + constexpr int min_avail_height = 910 - taskbar_size; QRect rect = d->availableGeometry(this); return rect.height() >= min_avail_height; } |