update input mask even for !normalState

work/spdx
Michail Vourlakos 4 years ago
parent 934f5c163e
commit 50a1ee1db8

@ -535,7 +535,7 @@ Item{
///test maskArea
function updateMaskArea() {
if (!latteView || !root.viewIsAvailable || !updateIsEnabled || !inNormalState) {
if (!latteView || !root.viewIsAvailable) {
return;
}
@ -551,7 +551,7 @@ Item{
//console.log("reached updating geometry ::: "+dock.maskArea);
if (!latteView.visibility.isHidden) {
if (!latteView.visibility.isHidden && updateIsEnabled && inNormalState) {
//! Important: Local Geometry must not be updated when view ISHIDDEN
//! because it breaks Dodge(s) modes in such case
@ -603,6 +603,7 @@ Item{
}
//! Input Mask
if (updateIsEnabled) {
var animated = (animations.needBothAxis.count>0);
if (!LatteCore.WindowSystem.compositingActive || animated || latteView.behaveAsPlasmaPanel) {
@ -650,6 +651,7 @@ Item{
latteView.effects.inputMask = inputGeometry;
}
}
}
Loader{
anchors.fill: parent

Loading…
Cancel
Save