hoverpanel: fix pin icons, hide pin during osd, convert network to hover panel
This commit is contained in:
parent
dca6a8ac5c
commit
54f80f0da8
4 changed files with 16 additions and 41 deletions
|
|
@ -215,7 +215,7 @@ PanelWindow {
|
|||
|
||||
// Pin button — top-right corner, hover mode only
|
||||
Item {
|
||||
visible: !root.popupMode
|
||||
visible: !root.popupMode && (root.panelHovered || root._pinned)
|
||||
x: parent.width - width - 4
|
||||
y: 4
|
||||
width: 20
|
||||
|
|
@ -244,7 +244,7 @@ PanelWindow {
|
|||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
text: root._pinned ? "\uEB40" : "\uEB3F"
|
||||
text: root._pinned ? "\uDB81\uDC03" : "\uDB82\uDD31"
|
||||
color: root._pinned ? root.accentColor : M.Theme.base04
|
||||
font.pixelSize: M.Theme.fontSize - 1
|
||||
font.family: M.Theme.iconFontFamily
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue