Extend opacity scale to include all steps of 5 #11832
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Originally the opacity scale just included the values
0
,25
,50
,75
, and100
. Then we added steps of 10 and we had this weird scale that was basically just steps of 10 but also had25
and75
. Then we found ourselves wanting a bit more fine-grained control at the extreme ends of the scale and added5
and95
, and at this point the scale just looked like a total garage sale. But because this was in the pre-JIT days, we lived with it to avoid the file size consequences of extending the scale with all of the 5 values.The project I'm working on right now requires a
15%
value every 15 minutes and I'm sick of typing[15%]
so here we are.