1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-10 09:57:35 +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 a64bdd3c36
commit ac11a3a2d7

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