Commit 0224e07
committed
Round alpha values to 2DP
When converting hex colours such as #AABBCC11 to RGBA, the alpha value was being output as "0.067777776" for example which is a bit daft so round it off to 2DP to match other implementations1 parent 363b951 commit 0224e07
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
0 commit comments