forked from Shinonome/dots-hyprland
bar: popups: fix and simplify positioning
This commit is contained in:
@@ -97,8 +97,6 @@ MouseArea {
|
||||
|
||||
StyledPopup {
|
||||
hoverTarget: root
|
||||
offsetY: -30
|
||||
maskEnabled: true
|
||||
contentComponent: BatteryPopup {
|
||||
id: batteryPopup
|
||||
anchors.centerIn: parent
|
||||
|
||||
@@ -48,7 +48,6 @@ Item {
|
||||
|
||||
StyledPopup {
|
||||
hoverTarget: mouseArea
|
||||
offsetY: -30
|
||||
contentComponent: Rectangle {
|
||||
id: datePopup
|
||||
readonly property real margin: 12
|
||||
|
||||
@@ -70,7 +70,6 @@ Item {
|
||||
|
||||
StyledPopup {
|
||||
hoverTarget: mouseArea
|
||||
offsetY: -30
|
||||
contentComponent: Rectangle {
|
||||
id: resourcePopup
|
||||
readonly property real margin: 10
|
||||
|
||||
@@ -38,7 +38,6 @@ MouseArea {
|
||||
|
||||
StyledPopup {
|
||||
hoverTarget: root
|
||||
offsetY: -25
|
||||
contentComponent: WeatherPopup {
|
||||
id: weatherPopup
|
||||
anchors.centerIn: parent
|
||||
|
||||
Reference in New Issue
Block a user