mozilla/webmaker-core

Text and element selection border get blurry when element is scaled to large size

Offen

#49 geöffnet am 14.07.2015

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (31 Forks)auto 404
enhancementhelp wanted

Repository-Metriken

Stars
 (63 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

This issue has been migrated from mozilla/webmaker-android#1638.

It was originally written by flukeout on Mon May 04 2015 and had the following description:

When you deselect and reselect the scaled text element, the border comes back crisp. I think we should take a cue from this and try redrawing the element and border at the end of a scale gesture, this will probably fix the blurriness.

Apparently this has to do with the fact that the transform is hardware accelerated, and the text is being treated like a bitmap. Maybe just hiding & showing the text after the scale will force it to re-render and look sharp.

Alternatively, we can try to turn off the hardware acceleration for this by making sure we're not using a 3d transform? Not sure.

**@**Pomax Let me know what you think or if you want me to do some more research etc.

Contributor Guide