1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 11:21:40 +03:00

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
This commit is contained in:
Michail Vourlakos 2019-09-11 21:55:29 +03:00
parent c46d5e1f08
commit 2414a918bb

View File

@ -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