Compare commits
2 commits
8010a4728a
...
dca6a8ac5c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dca6a8ac5c | ||
|
|
df9070296b |
1 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue