Tasks,dont mask out zoomed items too soon

--AppletItem::clip was introduced  in order to
avoid circumstances that applets exceed their limits
and as such still events from surrounding applets.
Because of that change applets should now apply
their layout properties as valid all the time
pull/15/head
Michail Vourlakos 5 years ago
parent 5b13bc421f
commit 8525e076f8

@ -40,7 +40,6 @@ ContainerAbility.Animations {
//! Public Properties
active: plasmoid.configuration.animationsEnabled && LatteCore.WindowSystem.compositingActive
hasThicknessAnimation: (needBothAxis.count>0) || (needThickness.count>0)
duration.large: LatteCore.Environment.longDuration
duration.proposed: speedFactor.current * 2.8 * duration.large

@ -25,7 +25,7 @@ AbilityDefinition.Animations {
property Item bridge: null
active: ref.animations.active
hasThicknessAnimation: ref.animations.hasThicknessAnimation
readonly property bool hasThicknessAnimation: ref.animations.hasThicknessAnimation //redefined to make it readonly and switchable
//! animations tracking
needBothAxis: ref.animations.needBothAxis

@ -23,7 +23,7 @@ import "./animations" as AnimationsTypes
Item {
property bool active: false
property bool hasThicknessAnimation: false
readonly property bool hasThicknessAnimation: (needBothAxis.count>0) || (needThickness.count>0)
//! animations properties
property AnimationsTypes.Duration duration: AnimationsTypes.Duration {

@ -43,5 +43,6 @@ AppletAbility.Animations {
readonly property bool newWindowSlidingEnabled: active && plasmoid.configuration.animationNewWindowSliding
readonly property bool windowAddedInGroupEnabled: active && plasmoid.configuration.animationWindowAddedInGroup
readonly property bool windowRemovedFromGroupEnabled: active && plasmoid.configuration.animationWindowRemovedFromGroup
}

@ -1132,8 +1132,8 @@ Item {
visible: root.dragAreaEnabled
property int maxSize: ((parabolic.local.lastIndex>=0 || windowPreviewIsShown) && !root.dragSource) ?
(parabolic.factor.zoom * metrics.totals.thickness) + metrics.margin.screenEdge :
property int maxSize: ((parabolic.local.lastIndex>=0 || windowPreviewIsShown || animations.hasThicknessAnimation) && !root.dragSource) ?
(parabolic.factor.maxZoom * metrics.totals.thickness) + metrics.margin.screenEdge :
metrics.totals.thickness + metrics.margin.screenEdge
function onlyLaunchersInList(list){

Loading…
Cancel
Save