Skip to content

Fix 'Insert Text' doesn't paste text on viewport's center (fix #5615)#5645

Merged
dacap merged 1 commit into
aseprite:mainfrom
Gasparoken:fix-insert-text
Apr 20, 2026
Merged

Fix 'Insert Text' doesn't paste text on viewport's center (fix #5615)#5645
dacap merged 1 commit into
aseprite:mainfrom
Gasparoken:fix-insert-text

Conversation

@Gasparoken

Copy link
Copy Markdown
Member

fix #5615

@Gasparoken Gasparoken requested a review from dacap as a code owner January 21, 2026 20:30
@Gasparoken Gasparoken removed their assignment Jan 21, 2026
@aseprite-bot

Copy link
Copy Markdown
Collaborator

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

@dacap

dacap commented Feb 13, 2026

Copy link
Copy Markdown
Member

The fix works great 👍 but the pre-commit action failed, the patch needs some formatting.

@dacap dacap assigned Gasparoken and unassigned dacap Feb 13, 2026
@Gasparoken Gasparoken closed this Mar 3, 2026
…te#5615)

Old Edit > Insert Text option doesn't paste the text in the center of
the viewport.
Regression merged on commit 366751d
"Command refresh and refactor, ui availability consistency (fix aseprite#3025)"
@Gasparoken Gasparoken reopened this Mar 3, 2026
@aseprite-bot

Copy link
Copy Markdown
Collaborator

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

1 similar comment
@aseprite-bot

Copy link
Copy Markdown
Collaborator

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

@Gasparoken Gasparoken assigned dacap and unassigned Gasparoken Mar 3, 2026

@gadahl gadahl left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edit: never mind me, I was looking at an old version of this PR for some reason

Putting the changes all on one line should let it pass the formatting test:
Editor::activeEditor()->pasteImage(image.get(), nullptr, (params().x.isSet() || params().y.isSet()) ? &point : nullptr);

@dacap dacap merged commit 14864a5 into aseprite:main Apr 20, 2026
24 checks passed
@dacap dacap added this to the v1.3.17.1 milestone Apr 20, 2026
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.

Old Edit > Insert Text option doesn't paste the text in the center of the viewport

4 participants