mozilla/webmaker-core

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

オープン

#49 opened on 2015/07/14

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (31 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (63 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド