wip
This commit is contained in:
parent
12213b0008
commit
a1efbcec83
6 changed files with 247 additions and 0 deletions
|
@ -31,6 +31,9 @@ Item {
|
|||
const b = statusIconsInner.battery;
|
||||
const by = statusIcons.y + statusIconsInner.y + b.y - spacing / 2;
|
||||
|
||||
const c = clock;
|
||||
const cy = clock.y;
|
||||
|
||||
if (y >= awy && y <= awy + aw.implicitHeight) {
|
||||
popouts.currentName = "activewindow";
|
||||
popouts.currentCenter = Qt.binding(() => activeWindow.y + aw.y + aw.implicitHeight / 2);
|
||||
|
@ -54,6 +57,10 @@ Item {
|
|||
popouts.currentName = "battery";
|
||||
popouts.currentCenter = Qt.binding(() => statusIcons.y + statusIconsInner.y + b.y + b.implicitHeight / 2);
|
||||
popouts.hasCurrent = true;
|
||||
} else if (y >= cy && y <= cy + c.implicitHeight) {
|
||||
popouts.currentName = "calendar";
|
||||
popouts.currentCenter = Qt.binding(() => clock.y + clock.implicitHeight / 2);
|
||||
popouts.hasCurrent = true;
|
||||
} else {
|
||||
popouts.hasCurrent = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue