1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-11 08:58:16 +03:00

drop containment inSlidingIn exposure

This commit is contained in:
Michail Vourlakos 2021-01-20 23:40:47 +02:00
parent f6747a5f1c
commit 291f86710f
3 changed files with 3 additions and 5 deletions

View File

@ -686,8 +686,7 @@ Item {
}
onWheelScrolled: {
if (!appletItem.applet || !root.mouseWheelActions || viewSignalsConnector.blockWheel
|| (root.latteViewIsHidden || root.inSlidingIn || root.inSlidingOut)) {
if (!appletItem.applet || !root.mouseWheelActions || viewSignalsConnector.blockWheel || !appletItem.myView.isShownFully) {
return;
}

View File

@ -60,7 +60,7 @@ Item{
if ( latteView && root.isHorizontal && root.myView.alignment === LatteCore.Types.Justify ){
return ((latteView.width/2) - (root.maxLength/2) + background.offset);
} else {
if ((visibilityManager.inSlidingIn || visibilityManager.inSlidingOut) && root.isVertical){
if ((root.myView.inSlidingIn || root.myView.inSlidingOut) && root.isVertical){
return;
}
@ -93,7 +93,7 @@ Item{
if ( latteView && root.isVertical && root.myView.alignment === LatteCore.Types.Justify ) {
return ((latteView.height/2) - (root.maxLength/2) + background.offset);
} else {
if ((visibilityManager.inSlidingIn || visibilityManager.inSlidingOut) && root.isHorizontal){
if ((root.myView.inSlidingIn || root.myView.inSlidingOut) && root.isHorizontal){
return;
}

View File

@ -213,7 +213,6 @@ Item {
property bool dragActiveWindowEnabled: plasmoid.configuration.dragActiveWindowEnabled
property bool immutable: plasmoid.immutable
property bool inFullJustify: (plasmoid.configuration.alignment === LatteCore.Types.Justify) && (maxLengthPerCentage===100)
property bool inSlidingIn: visibilityManager ? visibilityManager.inSlidingIn : false
property bool inSlidingOut: visibilityManager ? visibilityManager.inSlidingOut : false
property bool inStartup: true
property bool isHorizontal: plasmoid.formFactor === PlasmaCore.Types.Horizontal