tooltip flyout border matches module accent color
This commit is contained in:
parent
5b901478c7
commit
91657003c0
7 changed files with 9 additions and 1 deletions
|
|
@ -70,6 +70,7 @@ Text {
|
|||
M.FlyoutState.text = root.tooltip;
|
||||
M.FlyoutState.itemX = root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0);
|
||||
M.FlyoutState.screen = QsWindow.window?.screen ?? null;
|
||||
M.FlyoutState.accentColor = parent?.accentColor ?? root.color;
|
||||
M.FlyoutState.visible = true;
|
||||
} else if (!hovered && root.tooltip !== "") {
|
||||
M.FlyoutState.visible = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue