mozilla/webmaker-core

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

開放

#49 建立於 2015年7月14日

 (0 則留言) (0 個反應) (0 位負責人)JavaScript (31 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (63 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南