Skip to content

Commit e5bb273

Browse files
author
David Gillen
committed
Correcting bounds issue
1 parent 886ca7e commit e5bb273

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/easeljs/display/StageGL.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,7 +1172,7 @@ this.createjs = this.createjs||{};
11721172

11731173
"hue": {
11741174
shader: (StageGL.BLEND_FRAGMENT_HSL_UTIL + StageGL.BLEND_FRAGMENT_COMPLEX +
1175-
"setLum(setSat(srcClr, getSat(dstClr)), getLum(dstClr))"
1175+
"setLum(setSat(srcClr, getSat(dstClr)), getLum(dstClr))"
11761176
+ StageGL.BLEND_FRAGMENT_COMPLEX_CAP)
11771177
},
11781178
"saturation": {

src/easeljs/filters/BitmapCache.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ this.createjs = this.createjs||{};
546546
p.getBounds = function() {
547547
var scale = this.scale;
548548
return this._boundRect.setValues(
549-
this._filterOffX/scale, this._filterOffY/scale,
550-
this.width/scale, this.height/scale
549+
this.x, this.y,
550+
this.width/scale, this.height/scale
551551
);
552552
};
553553

0 commit comments

Comments
 (0)