mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
move StyledPopup to Bar
This commit is contained in:
parent
138684fcea
commit
e189f0317f
3 changed files with 4 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ import qs.modules.common.widgets
|
|||
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import "../"
|
||||
|
||||
StyledPopup {
|
||||
id: root
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ import QtQuick
|
|||
import QtQuick.Layouts
|
||||
import Quickshell.Services.Mpris
|
||||
|
||||
import "../bar" as Bar
|
||||
|
||||
MouseArea {
|
||||
id: root
|
||||
property bool borderless: Config.options.bar.borderless
|
||||
|
|
@ -64,7 +66,7 @@ MouseArea {
|
|||
}
|
||||
}
|
||||
|
||||
StyledPopup {
|
||||
Bar.StyledPopup {
|
||||
hoverTarget: root
|
||||
active: GlobalStates.mediaControlsOpen ? false : root.containsMouse
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue