plugins/desktopchangeosd: hide osd when Overview effect is active

This commit is contained in:
Fushan Wen 2023-09-29 18:21:28 +08:00
parent 5fc009d64a
commit 51c517f2b8
No known key found for this signature in database
GPG key ID: 2E48D1487C91DCAA

View file

@ -31,6 +31,9 @@ PlasmaCore.Dialog {
}
function show() {
if (Workspace.isEffectActive("overview")) {
return;
}
const index = Workspace.desktops.indexOf(Workspace.currentDesktop);
if (dialogItem.currentIndex === index) {
return;