diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-10 14:34:59 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-09-10 14:34:59 +1000 |
| commit | b6b2adf05682d5dc206a32f604e657cb2677c131 (patch) | |
| tree | 7adb409c9a6e1cedfb2058fb582379ab01beb381 | |
| parent | launcher/wallpaper: include subfolder in search (diff) | |
| download | caelestia-shell-b6b2adf05682d5dc206a32f604e657cb2677c131.tar.gz caelestia-shell-b6b2adf05682d5dc206a32f604e657cb2677c131.tar.bz2 caelestia-shell-b6b2adf05682d5dc206a32f604e657cb2677c131.zip | |
launcher: fix showOnHover
Closes #591
Fixes #562
| -rw-r--r-- | modules/drawers/Interactions.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml index fcaa790..7611702 100644 --- a/modules/drawers/Interactions.qml +++ b/modules/drawers/Interactions.qml @@ -123,7 +123,8 @@ CustomMouseArea { // Show launcher on hover, or show/hide on drag if hover is disabled if (Config.launcher.showOnHover) { - visibilities.launcher = inBottomPanel(panels.launcher, x, y); + if (!visibilities.launcher && inBottomPanel(panels.launcher, x, y)) + visibilities.launcher = true; } else if (pressed && inBottomPanel(panels.launcher, dragStart.x, dragStart.y) && withinPanelWidth(panels.launcher, x, y)) { const dragY = y - dragStart.y; if (dragY < -Config.launcher.dragThreshold) |