Skip to content

Commit cf38fd4

Browse files
committed
variable scoping issue, leading to clipped objects
1 parent 6f0f714 commit cf38fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/easeljs/display/StageGL.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2627,7 +2627,7 @@ this.createjs = this.createjs||{};
26272627
}
26282628

26292629
if(!this._directDraw && (!ignoreCache && item.cacheCanvas === null && item.filters !== null && item.filters.length)) {
2630-
var bounds;
2630+
var bounds = null;
26312631
if (item.bitmapCache === null) {
26322632
bounds = item.getBounds();
26332633
item.bitmapCache = new createjs.BitmapCache();

0 commit comments

Comments
 (0)