painterro icon indicating copy to clipboard operation
painterro copied to clipboard

Wrongly added Automatic Linebreak after confirming text

Open HabelFLX opened this issue 2 years ago • 0 comments

Describe the bug When I add a long text to my image in a way that the text would exceed the canvas' boundaries, automatic linebreaks are added in the preview. But as soon as I confirm the text by clicking the checkmark button, the added linebreaks change so that parts of the text are not visible anymore.

Painterro version E.g. v1.0.2

To Reproduce Steps to reproduce the behavior:

  1. Open any image
  2. Add a new Text and start typing a long sentence
  3. when you reach the canvas' boundaries, linebreaks will be added automatically (as expected)
  4. confirm the text
  5. now the linebreak changes and some text is outside the canvas

Expected behavior The added linebreaks in the preview are correctly displayed. After confirming the text the linebreak should match the preview.

Screenshots image image

Browser

  • Google Chrome V 114 on Windows

HabelFLX avatar Jul 31 '23 07:07 HabelFLX