viliusle / miniPaint

online image editor
http://viliusle.github.io/miniPaint/
Other
2.62k stars 610 forks source link

Feature/inline text editing #194

Closed Giwayume closed 3 years ago

Giwayume commented 3 years ago

185

Ok, this was quite an adventure. After lots of weird bugs, I'm at the point I can't find any more problems with it.

Example of old (incorrect) line height calculation, overlapping lines: image

Example of new line height calculation: image

Once I add the leading control feature, the old to new format conversion script should be able to offset this so old files look the same (by setting a negative leading value).

viliusle commented 3 years ago

Amazing, so much work, and for user it looks really nice. There are many features, nice.

Before merge, there are few issues:

I can fix last 3 issues. Please check "2" and comment about "1".

Giwayume commented 3 years ago

No, I was messing around because I had some weird issue where it kept moving over to the browser every time I saved. I changed a browser setting to stop that, line can be removed.

I thought it looked ok with the green highlight & underline. It's more subtle than the current style for sure. I think it needs to be a little less in your face because it's not a big important aspect of the UI that you're trying to draw user's attention to.

I was also thinking earlier that the pattern for these buttons should change to show both options. Sometimes it's not clear what it means to deactivate the button.

Yeah

Giwayume commented 3 years ago

I'll think about 2. Still have a lot of work left to do on the text editing anyways (future PR).

Giwayume commented 3 years ago

This should make it more obvious

image

viliusle commented 3 years ago

All issues fixed, also File > open > open test template should show all text layer possibilities (including other layers of course)