do not overlay applets when icon found !visible

--many applets are changing layouts and during that
process the main icon becomes invisile, in that case
the latte overlaied icon should also been disabled and
let applet paint itself accordingly

FIXED-IN:0.9.3
pull/9/head
Michail Vourlakos 5 years ago
parent c46d5e1f08
commit 2414a918bb

@ -38,7 +38,7 @@ Item{
//! BEGIN OF PROPERTIES
//this is used for folderView and icon widgets to fake their visual icons
readonly property bool canShowOverlaiedLatteIcon: appletIconItem
readonly property bool canShowOverlaiedLatteIcon: appletIconItem && appletIconItem.visible
readonly property bool overlayLatteIconIsActive: canShowOverlaiedLatteIcon && latteIconOverlayEnabled
property Item appletRootItem: appletDiscoveredRootItem ? appletDiscoveredRootItem : appletDefaultRootItem

Loading…
Cancel
Save