mozilla/webmaker-core

Transparency slider values have different number of digits after the decimal, causing little jumps

开放

#92 创建于 2015年7月14日

 (0 条评论) (0 个反应) (0 位负责人)JavaScript (31 个派生)auto 404
enhancementfeedbackhelp wanted

仓库指标

星标
 (63 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

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

When you adjust the transparency of an Image Element, the value shifts around a bit when you switch between values like .81 and .8

We can solve this by left-aligning the value or by always having a two digit value, .80 instead of .8 (with special exceptions for 0 and 1).

**@**vazquez What do you think?

On Mon May 11 2015, vazquez commented:

I would propose left aligning the values.

贡献者指南