remove deprecated code

work/spdx
Michail Vourlakos 4 years ago
parent 6390a48863
commit 4ee4f875a5

@ -33,8 +33,6 @@ Item{
property QtObject window property QtObject window
property bool blockUpdateMask: false
property bool isFloatingInClientSide: !root.behaveAsPlasmaPanel property bool isFloatingInClientSide: !root.behaveAsPlasmaPanel
&& screenEdgeMarginEnabled && screenEdgeMarginEnabled
&& !root.floatingInternalGapIsForced && !root.floatingInternalGapIsForced
@ -412,6 +410,15 @@ Item{
onMaxZoomedChanged: updateMaskArea() onMaxZoomedChanged: updateMaskArea()
} }
Connections {
target: root.myView
onInRelocationAnimationChanged: {
if (!root.myView.inRelocationAnimation) {
manager.updateMaskArea();
}
}
}
Connections{ Connections{
target: themeExtended ? themeExtended : null target: themeExtended ? themeExtended : null
onThemeChanged: latteView.effects.forceMaskRedraw(); onThemeChanged: latteView.effects.forceMaskRedraw();
@ -478,7 +485,6 @@ Item{
//! functions used for sliding out/in during location/screen changes //! functions used for sliding out/in during location/screen changes
function slotHideDockDuringLocationChange() { function slotHideDockDuringLocationChange() {
inRelocationHiding = true; inRelocationHiding = true;
blockUpdateMask = true;
if(!slidingAnimationAutoHiddenOut.running) { if(!slidingAnimationAutoHiddenOut.running) {
slidingAnimationAutoHiddenOut.init(); slidingAnimationAutoHiddenOut.init();
@ -490,7 +496,6 @@ Item{
} }
function sendHideDockDuringLocationChangeFinished(){ function sendHideDockDuringLocationChangeFinished(){
blockUpdateMask = false;
latteView.positioner.hideDockDuringLocationChangeFinished(); latteView.positioner.hideDockDuringLocationChangeFinished();
} }
@ -507,7 +512,7 @@ Item{
///test maskArea ///test maskArea
function updateMaskArea() { function updateMaskArea() {
if (!latteView || !root.viewIsAvailable || blockUpdateMask) { if (!latteView || !root.viewIsAvailable) {
return; return;
} }

Loading…
Cancel
Save