mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
cc: fix rogue tooltip
This commit is contained in:
1 parent
f1ea842bca
commit
d7d7f73420
2 files changed
+3
-1
No files matched your search
@@ -10,6 +10,7 @@ CcTile {
|
||||
|
||||
toggle: false
|
||||
active: finishing
|
||||
tooltips: !finishing
|
||||
iconName: finishing ? "check" : widgetDef?.icon ?? ""
|
||||
title: widgetDef?.text ?? ""
|
||||
restIconColor: action === "power" ? Theme.error : CcMetrics.tileInactiveIcon
|
||||
|
||||
@@ -58,6 +58,7 @@ Item {
|
||||
property bool available: true
|
||||
property bool interactive: true
|
||||
property bool iconBlinking: false
|
||||
property bool tooltips: true
|
||||
property real iconRotation: 0
|
||||
|
||||
signal clicked
|
||||
@@ -207,7 +208,7 @@ Item {
|
||||
anchors.bottomMargin: root.expanded ? root.height - root.headerHeight - root.tilePadding * 2 : 0
|
||||
stateColor: root.contentColor
|
||||
cornerRadius: root.bodyRadius
|
||||
tooltipText: root.compact || root.docked ? [root.title, root.subtitle].filter(text => text !== "").join(" · ") : ""
|
||||
tooltipText: root.tooltips && (root.compact || root.docked) ? [root.title, root.subtitle].filter(text => text !== "").join(" · ") : ""
|
||||
onClicked: root.activate()
|
||||
onPressAndHold: root.expand()
|
||||
onWheel: wheelEvent => {
|
||||
|
||||
Reference in new issue
Block a user