Merge pull request #111 from lamugu/fix/recent-tooltip-layer

最近连接悬浮框不再压住连接弹窗的确认按钮
This commit is contained in:
Junkun Di
2026-10-11 17:22:58 +08:00
committed by GitHub
+4 -2
View File
@@ -1251,7 +1251,9 @@ export component MainWindow inherits Window {
// Match the ImGui recent-connection tooltip while keeping it outside the
// clipped ScrollView. It is deliberately limited to the thumbnail area.
if root.recent-tooltip-visible: Rectangle {
// Stay under the modal layer (z >= 39): a hover tooltip that outlives the
// pointer can otherwise cover a dialog button and hide it from the user.
if root.recent-tooltip-visible && !root.connection-dialog-open: Rectangle {
x: root.recent-tooltip-x;
y: root.recent-tooltip-y;
width: root.recent-tooltip-width;
@@ -1260,7 +1262,7 @@ export component MainWindow inherits Window {
border-width: 1px;
border-color: #ffffff38;
border-radius: 5px;
z: 50;
z: 20;
VerticalLayout {
padding: 8px;