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:
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -28,6 +28,7 @@ SequentialAnimation{
|
||||
Component.onCompleted: {
|
||||
if (newWindowAnimation.inDelayedStartup) {
|
||||
newWindowAnimation.inDelayedStartup = false;
|
||||
newWindowAnimation.init();
|
||||
start();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user