Skip to content

fix: icon blurry when half aligned#327

Merged
asterwyx merged 1 commit intolinuxdeepin:masterfrom
asterwyx:dciicon
Apr 23, 2024
Merged

fix: icon blurry when half aligned#327
asterwyx merged 1 commit intolinuxdeepin:masterfrom
asterwyx:dciicon

Conversation

@asterwyx
Copy link
Contributor

Don't enable half align. Offset of image item is caused by layout,
when calculating width and height for image item, there is floating
point error compared with sourceSize, thus x and y is not zero.Set
width and height for image item to avoid calculation error of x and y.

Log: fix icon blurry when half aligned

@asterwyx asterwyx self-assigned this Apr 23, 2024
@asterwyx asterwyx requested review from kegechen and zccrs April 23, 2024 05:42
Don't enable half align. Offset of image item is caused by layout,
when calculating width and height for image item, there is floating
point error compared with sourceSize, thus x and y is not zero.Set
width and height for image item to avoid calculation error of x and y.

Log: fix icon blurry when half aligned
deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Apr 23, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#327
deepin-ci-robot added a commit to linuxdeepin/dtk6declarative that referenced this pull request Apr 23, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#327
@deepin-bot
Copy link
Contributor

deepin-bot bot commented Apr 23, 2024

Doc Check bot
🟢 Document Coverage Check Passed!

asterwyx added a commit to asterwyx/dde-shell that referenced this pull request Apr 23, 2024
Don't use half pixel alignment. Force status indicator to align with
icon.

Log: fix icon blurry
Depends: linuxdeepin/dtkdeclarative#327
@deepin-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: asterwyx, kegechen

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

@asterwyx asterwyx merged commit 2945252 into linuxdeepin:master Apr 23, 2024
asterwyx pushed a commit to linuxdeepin/dtk6declarative that referenced this pull request Apr 23, 2024
Synchronize source files from linuxdeepin/dtkdeclarative.

Source-pull-request: linuxdeepin/dtkdeclarative#327
asterwyx added a commit to linuxdeepin/dde-shell that referenced this pull request Apr 23, 2024
Don't use half pixel alignment. Force status indicator to align with
icon.

Log: fix icon blurry
Depends: linuxdeepin/dtkdeclarative#327
FeiWang1119 pushed a commit to FeiWang1119/dde-shell that referenced this pull request Jul 5, 2024
Don't use half pixel alignment. Force status indicator to align with
icon.

Log: fix icon blurry
Depends: linuxdeepin/dtkdeclarative#327
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