diff --git a/containment/package/contents/ui/VisibilityManager.qml b/containment/package/contents/ui/VisibilityManager.qml index 27d537601..42784de3f 100644 --- a/containment/package/contents/ui/VisibilityManager.qml +++ b/containment/package/contents/ui/VisibilityManager.qml @@ -40,13 +40,11 @@ Item{ property bool previousNormalState : false // this is only for debugging purposes property bool panelIsBiggerFromIconSize: root.useThemePanel && (background.totals.visualThickness >= (metrics.iconSize + metrics.margin.thickness)) - property bool maskIsFloating: !root.behaveAsPlasmaPanel - && screenEdgeMarginEnabled - && !root.floatingInternalGapIsForced - && !inSlidingIn - && !inSlidingOut - - property int maskFloatedGap: maskIsFloating ? Math.max(0, metrics.margin.screenEdge - background.shadows.headThickness) : 0 + property bool inClientSideFloating: !root.behaveAsPlasmaPanel + && screenEdgeMarginEnabled + && !root.floatingInternalGapIsForced + && !inSlidingIn + && !inSlidingOut property int animationSpeed: LatteCore.WindowSystem.compositingActive ? (root.editMode ? 400 : animations.speedFactor.current * 1.62 * animations.duration.large) : 0 @@ -427,7 +425,7 @@ Item{ onThemeChanged: latteView.effects.forceMaskRedraw(); } - onMaskIsFloatingChanged: updateMaskArea(); + onInClientSideFloatingChanged: updateMaskArea(); onNormalStateChanged: { if (normalState) {