Compare commits

..

2 commits

View file

@ -202,15 +202,15 @@ PanelWindow {
enabled: root.popupMode enabled: root.popupMode
} }
Column {
id: panelContent
width: root.contentWidth
HoverHandler { HoverHandler {
enabled: !root.popupMode && !root._pinned enabled: !root.popupMode && !root._pinned
onHoveredChanged: if (!root.popupMode && !root._pinned) onHoveredChanged: if (!root.popupMode && !root._pinned)
root.panelHovered = hovered root.panelHovered = hovered
} }
Column {
id: panelContent
width: root.contentWidth
} }
// Pin button top-right corner, hover mode only // Pin button top-right corner, hover mode only
@ -244,7 +244,7 @@ PanelWindow {
Text { Text {
anchors.centerIn: parent anchors.centerIn: parent
text: "\uEB3F" text: root._pinned ? "\uEB40" : "\uEB3F"
color: root._pinned ? root.accentColor : M.Theme.base04 color: root._pinned ? root.accentColor : M.Theme.base04
font.pixelSize: M.Theme.fontSize - 1 font.pixelSize: M.Theme.fontSize - 1
font.family: M.Theme.iconFontFamily font.family: M.Theme.iconFontFamily