Skip to content

Draw the Entry background in the delegate (fix #5520)#5643

Closed
ckaiser wants to merge 2 commits into
aseprite:mainfrom
ckaiser:fix-text-selection
Closed

Draw the Entry background in the delegate (fix #5520)#5643
ckaiser wants to merge 2 commits into
aseprite:mainfrom
ckaiser:fix-text-selection

Conversation

@ckaiser

@ckaiser ckaiser commented Jan 21, 2026

Copy link
Copy Markdown
Member

Changes the approach to fixing #5520 and avoid #5628, depends on laf#170.

The cause of the bug was the double drawing of the background, once in the LAF side and once here but only when using TTF fonts with different bounds. I've moved the entirety of the drawing of the selection rect to this code, so it'll draw the right bounds in the delegate.

@ckaiser ckaiser requested a review from dacap as a code owner January 21, 2026 15:58
@aseprite-bot

Copy link
Copy Markdown
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@dacap dacap linked an issue Feb 13, 2026 that may be closed by this pull request
@dacap

dacap commented Feb 13, 2026

Copy link
Copy Markdown
Member

Merged in 23ff825

@dacap dacap closed this Feb 13, 2026
@dacap dacap added this to the v1.3.17 milestone Feb 25, 2026
@ckaiser ckaiser deleted the fix-text-selection branch May 7, 2026 04:47
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.

Invalid text scrolling in ui::Entry fields

3 participants