diff options
Diffstat (limited to 'Userland/MenuApplets/Audio/main.cpp')
-rw-r--r-- | Userland/MenuApplets/Audio/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Userland/MenuApplets/Audio/main.cpp b/Userland/MenuApplets/Audio/main.cpp index 4bdcaa7d86..414f40bef2 100644 --- a/Userland/MenuApplets/Audio/main.cpp +++ b/Userland/MenuApplets/Audio/main.cpp @@ -189,7 +189,11 @@ private: VERIFY_NOT_REACHED(); } - void reposition_slider_window() { m_slider_window->set_rect(window()->rect_in_menubar().x() - 20, 19, 50, 100); } + void reposition_slider_window() + { + auto applet_rect = window()->applet_rect_on_screen(); + m_slider_window->set_rect(applet_rect.x() - 20, applet_rect.y() - 106, 50, 100); + } struct VolumeBitmapPair { int volume_threshold { 0 }; |