mirror of
https://github.com/KDE/latte-dock.git
synced 2025-03-18 18:50:46 +03:00
fix warning check
This commit is contained in:
parent
afe0dd7514
commit
28b777dd15
@ -56,7 +56,7 @@ DragDrop.DropArea {
|
||||
property bool autoDecreaseIconSize: plasmoid.configuration.autoDecreaseIconSize
|
||||
property bool backgroundOnlyOnMaximized: plasmoid.configuration.backgroundOnlyOnMaximized
|
||||
property bool behaveAsPlasmaPanel: {
|
||||
if (!dock || dock.visibility)
|
||||
if (!dock || !dock.visibility)
|
||||
return false;
|
||||
|
||||
return (visibilityManager.panelIsBiggerFromIconSize && (zoomFactor === 1.0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user