Skip to content

fix(pin): correct OCR button size in pin screenshot toolbar#818

Merged
deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom
dengzhongyuan365-dev:master
Apr 11, 2026
Merged

fix(pin): correct OCR button size in pin screenshot toolbar#818
deepin-bot[bot] merged 1 commit intolinuxdeepin:masterfrom
dengzhongyuan365-dev:master

Conversation

@dengzhongyuan365-dev
Copy link
Copy Markdown
Contributor

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.html

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.html
@deepin-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dengzhongyuan365-dev, lzwind

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dengzhongyuan365-dev
Copy link
Copy Markdown
Contributor Author

/forcemerge

@deepin-bot
Copy link
Copy Markdown
Contributor

deepin-bot bot commented Apr 11, 2026

This pr force merged! (status: unstable)

@deepin-bot deepin-bot bot merged commit 3fd319d into linuxdeepin:master Apr 11, 2026
8 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants