Compare commits

...

2 commits

View file

@ -202,15 +202,15 @@ PanelWindow {
enabled: root.popupMode enabled: root.popupMode
} }
HoverHandler {
enabled: !root.popupMode && !root._pinned
onHoveredChanged: if (!root.popupMode && !root._pinned)
root.panelHovered = hovered
}
Column { Column {
id: panelContent id: panelContent
width: root.contentWidth width: root.contentWidth
HoverHandler {
enabled: !root.popupMode && !root._pinned
onHoveredChanged: if (!root.popupMode && !root._pinned)
root.panelHovered = hovered
}
} }
// 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