mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Fix color alpha rounding bug. (Fixes #67)
This commit is contained in:
parent
41c10555bc
commit
8386f8c3da
@ -156,7 +156,7 @@
|
||||
Math.round(start.r + diff.r * i) + ',' +
|
||||
Math.round(start.g + diff.g * i) + ',' +
|
||||
Math.round(start.b + diff.b * i) + ',' +
|
||||
Math.round(start.a + diff.a * i) + ')';
|
||||
(start.a + diff.a * i) + ')';
|
||||
} else {
|
||||
newVal = start + (diff * i);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user