chenbo007 / svg-edit

Automatically exported from code.google.com/p/svg-edit
0 stars 0 forks source link

Selecting object with 100% (fill|stroke) opacity show 10000% at the bottom #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
see subject

Also sometimes when object is selected with no (fill|stroke) opacity the 
value reads 100% instead of N/A.

Original issue reported on code.google.com by rusn...@gmail.com on 7 Jul 2009 at 11:51

GoogleCodeExporter commented 9 years ago
So did the picker go from using 0-100% to 0-1.0 ?  Seems like the error might 
be in:

new $.jPicker.Color({ hex: 'ffffff', a: 100 });

where now jPicker expects a value between 0 and 1.0 instead of %.

Original comment by codedr...@gmail.com on 7 Jul 2009 at 2:52

GoogleCodeExporter commented 9 years ago

Original comment by codedr...@gmail.com on 7 Jul 2009 at 7:10

GoogleCodeExporter commented 9 years ago
jPicker still expects alpha range from 0-100. I have no intent to change that.

Original comment by christop...@gmail.com on 8 Jul 2009 at 5:06

GoogleCodeExporter commented 9 years ago
Thanks Chris - this helps in that I probably don't have to delve into the 
jPicker
source and it's likely just a bug from our side.

Original comment by codedr...@gmail.com on 8 Jul 2009 at 12:52

GoogleCodeExporter commented 9 years ago
Fixed two different errors in r289

Original comment by codedr...@gmail.com on 9 Jul 2009 at 4:34