@ -310,7 +310,17 @@ Item{
if ( updateIsEnabled ) {
var animated = ( animations . needBothAxis . count > 0 ) ;
if ( ! LatteCore . WindowSystem . compositingActive || animated || latteView . behaveAsPlasmaPanel ) {
if ( animated ) {
/ / ! c l e a r i n p u t m a s k
latteView . effects . inputMask = Qt . rect ( 0 , 0 , - 1 , - 1 ) ;
} else {
updateInputGeometry ( ) ;
}
}
}
function updateInputGeometry ( ) {
if ( ! LatteCore . WindowSystem . compositingActive || latteView . behaveAsPlasmaPanel ) {
/ / ! c l e a r i n p u t m a s k
latteView . effects . inputMask = Qt . rect ( 0 , 0 , - 1 , - 1 ) ;
} else {
@ -372,7 +382,6 @@ Item{
latteView . effects . inputMask = inputGeometry ;
}
}
}
Loader {
anchors.fill: parent
@ -458,6 +467,7 @@ Item{
}
latteView . visibility . slideOutFinished ( ) ;
manager . updateInputGeometry ( ) ;
}
function init ( ) {
@ -491,6 +501,7 @@ Item{
onStarted: {
latteView . visibility . show ( ) ;
manager . updateInputGeometry ( ) ;
if ( debug . maskEnabled ) {
console . log ( "showing animation started..." ) ;