mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-07-26 14:24:45 +00:00
no long press in locked mode
This commit is contained in:
parent
ad54f0a1a2
commit
37535f97ba
1 changed files with 1 additions and 1 deletions
|
|
@ -478,7 +478,7 @@ Item {
|
||||||
|
|
||||||
onPressAndHold: {
|
onPressAndHold: {
|
||||||
print(favoritesView.contains(mapToItem(favoritesView, mouse.x, mouse.y)))
|
print(favoritesView.contains(mapToItem(favoritesView, mouse.x, mouse.y)))
|
||||||
if (!favoritesView.contains(mapToItem(favoritesView, mouse.x, mouse.y))) {
|
if (!root.locked && !favoritesView.contains(mapToItem(favoritesView, mouse.x, mouse.y))) {
|
||||||
editOverlay.visible = true;
|
editOverlay.visible = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue