Commit b8054be
fix(shot): include sidebar in background clip region for blur effect
In recording/scrollshot modes, the background is only drawn within
the toolbar clip area to avoid blocking mouse passthrough. When the
AI assistant panel (sidebar) is shown, it falls outside the toolbar
clip rect, so its blur backdrop has no background pixels to sample
from.
Extend the clip region to also cover the sidebar geometry when it is
visible, using QRegion to combine both rects.
bug: https://pms.uniontech.com/bug-view-356057.html1 parent 634835b commit b8054be
1 file changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4802 | 4802 | | |
4803 | 4803 | | |
4804 | 4804 | | |
| 4805 | + | |
4805 | 4806 | | |
4806 | 4807 | | |
4807 | | - | |
| 4808 | + | |
| 4809 | + | |
| 4810 | + | |
| 4811 | + | |
| 4812 | + | |
| 4813 | + | |
| 4814 | + | |
| 4815 | + | |
4808 | 4816 | | |
4809 | 4817 | | |
4810 | | - | |
| 4818 | + | |
4811 | 4819 | | |
4812 | 4820 | | |
4813 | 4821 | | |
| |||
0 commit comments