Commit 7ee8905
fix: Prevent sidebar from interfering with scroll screenshot auto-scroll
- Added sidebar area detection in scrollShotMouseMoveEvent() to pause auto-scroll when mouse hovers over sidebar
- Calculate sidebar rect with pixel ratio when sidebar is visible
- Updated mouse position check to include sidebar alongside toolbar and shot option areas
- Added exclusive button group for scroll screenshot toolbar buttons to ensure proper radio button behavior
- Connected AI Assistant button to scroll button group for
bug: https://pms.uniontech.com/bug-view-342295.html1 parent fec784a commit 7ee8905
2 files changed
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5929 | 5929 | | |
5930 | 5930 | | |
5931 | 5931 | | |
5932 | | - | |
5933 | | - | |
| 5932 | + | |
| 5933 | + | |
| 5934 | + | |
| 5935 | + | |
| 5936 | + | |
| 5937 | + | |
| 5938 | + | |
| 5939 | + | |
| 5940 | + | |
| 5941 | + | |
| 5942 | + | |
5934 | 5943 | | |
5935 | 5944 | | |
5936 | 5945 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1433 | 1433 | | |
1434 | 1434 | | |
1435 | 1435 | | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
1436 | 1439 | | |
1437 | 1440 | | |
1438 | 1441 | | |
1439 | 1442 | | |
1440 | | - | |
1441 | 1443 | | |
1442 | 1444 | | |
1443 | 1445 | | |
| |||
1446 | 1448 | | |
1447 | 1449 | | |
1448 | 1450 | | |
| 1451 | + | |
1449 | 1452 | | |
1450 | 1453 | | |
1451 | 1454 | | |
| |||
0 commit comments