Commit 15aeca3
fix(mainwindow): Enhance mouse position checks for toolbar visibility
- Added additional checks to ensure the toolbar visibility logic accurately reflects whether the mouse is over the main window, even when other windows may overlap.
- Implemented logic to confirm that the topmost window under the cursor is the main window or the toolbar, preventing issues with overlapping windows affecting toolbar visibility.
This update improves user experience by ensuring the toolbar behaves correctly in multi-window scenarios.
bug: https://pms.uniontech.com/bug-view-334269.html1 parent 7b7ea33 commit 15aeca3
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
909 | 910 | | |
910 | 911 | | |
911 | 912 | | |
912 | | - | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
913 | 927 | | |
914 | 928 | | |
915 | 929 | | |
| |||
0 commit comments