Skip to content

Commit c27d37a

Browse files
committed
Fixed rgba alpha value
1 parent fdb2e2f commit c27d37a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

v3/src/checksum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
var CHECKSUM = {
2-
build: 'ecb33c30-5b9a-11e7-b0e6-3fab5c0dcd27'
2+
build: 'fc3fb9b0-5b9c-11e7-83e9-87986ed5c5cd'
33
};
44
module.exports = CHECKSUM;

v3/src/graphics/color/Color.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Color.prototype = {
9696

9797
this._color = GetColor(this.r, this.g, this.b);
9898
this._color32 = GetColor32(this.r, this.g, this.b, this.a);
99-
this._rgba = 'rgba(' + this.r + ',' + this.g + ',' + this.b + ',' + (255 / this.a) + ')';
99+
this._rgba = 'rgba(' + this.r + ',' + this.g + ',' + this.b + ',' + (this.a / 255) + ')';
100100

101101
this.dirty = false;
102102

0 commit comments

Comments
 (0)