Commit e24358f
fix(shot): align size tips with actual saved image dimensions
The selection size tooltip displayed recordWidth×DPR × recordHeight×DPR,
but the actual crop applies -2 width and -1 height adjustments to avoid
capturing the dashed selection border, causing a few pixels discrepancy
between the displayed size and the saved image file info.
bug: https://pms.uniontech.com/bug-view-353039.html1 parent dc76388 commit e24358f
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
0 commit comments