1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-25 19:21:41 +03:00

enable parabolic area for hidden applets

--this way parabolic effect messages are forwarded properly
to surrounding applets
This commit is contained in:
Michail Vourlakos 2021-01-16 23:02:09 +02:00
parent 7a4010abc1
commit b48686229a

View File

@ -910,8 +910,9 @@ Item {
id: parabolicAreaLoader
width: root.isHorizontal ? appletItem.width : appletItem.metrics.mask.thickness.zoomedForItems
height: root.isHorizontal ? appletItem.metrics.mask.thickness.zoomedForItems : appletItem.height
active: parabolicEffectIsSupported && appletItem.parabolic.isEnabled && !lockZoom
//! must be enabled even for applets that are hidden in order to forward
//! parabolic effect messages properly to surrounding plasma applets
active: appletItem.parabolic.isEnabled && (!lockZoom || isHidden)
sourceComponent: ParabolicArea{}