Commit 3fd319d
fix(pin): correct OCR button size in pin screenshot toolbar
The OCR icon SVG (ocr-normal_32px.svg) has a 36x36 viewBox with
built-in padding around the 18x18 glyph. Setting iconSize and
fixedSize to 32x32 scaled the SVG down, making both the icon and
its hover background visually smaller than adjacent buttons.
Change both to 36x36 to match the SVG's native size and align with
the main screenshot toolbar where the same icon uses TOOL_ICON_SIZE
(36x36) and TOOL_BUTTON_SIZE (36x36).
bug: https://pms.uniontech.com/bug-view-356087.html1 parent 551a05c commit 3fd319d
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments