1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-08-21 13:49:29 +03:00

plasmoid:fix some parabolic effect blockers

This commit is contained in:
Michail Vourlakos
2021-02-07 21:51:19 +02:00
parent 650e43c9d1
commit 50e9666784
5 changed files with 9 additions and 5 deletions

View File

@ -58,7 +58,9 @@ AbilityDefinition.MyView {
palette: bridge && bridge.applyPalette ? bridge.palette : theme
readonly property AbilityDefinition.MyView local: AbilityDefinition.MyView {}
readonly property AbilityDefinition.MyView local: AbilityDefinition.MyView {
isShownFully: true
}
Item {
id: ref

View File

@ -32,7 +32,7 @@ Item {
property bool isHidden: false
property bool isShownPartially: false
property bool isShownFully: true
property bool isShownFully: false
property bool isHidingBlocked: false

View File

@ -64,6 +64,7 @@ AbilityItem.BasicItem {
parabolicItem.isParabolicEventBlocked: root.dragSource
|| !hoverEnabled
|| !taskItem.abilities.myView.isShownFully
|| inAnimation
|| (inBlockingAnimation && !(inAttentionAnimation||inFastRestoreAnimation))
parabolicItem.isUpdatingOnlySpacers: inAttentionAnimation || inBouncingAnimation
@ -77,6 +78,7 @@ AbilityItem.BasicItem {
property bool hasMinimized: (IsGroupParent === true) ? subWindows.hasMinimized : isMinimized
property bool hasShown: (IsGroupParent === true) ? subWindows.hasShown : !isMinimized && isWindow
property bool inAttention: isDemandingAttention && plasmoid.status === PlasmaCore.Types.NeedsAttentionStatus ? true : false
/*animations flags*/
property bool inAnimation: true
property bool inAddRemoveAnimation: true

View File

@ -96,11 +96,10 @@ Item{
if (!taskItem.abilities.myView.isHidden
&& ((root.windowInAttentionEnabled && isDemandingAttention)
|| root.windowAddedInGroupEnabled)){
newWindowAnimation.init();
if (!newWindowAnimation.active) {
if (newWindowAnimationLoader.status !== Loader.Ready) {
inDelayedStartup = true;
} else {
newWindowAnimation.init();
newWindowAnimationLoader.item.start();
}
}

View File

@ -28,6 +28,7 @@ SequentialAnimation{
Component.onCompleted: {
if (newWindowAnimation.inDelayedStartup) {
newWindowAnimation.inDelayedStartup = false;
newWindowAnimation.init();
start();
}
}