Skip to content

Commit aad8cb2

Browse files
author
David Gillen
committed
Correct issue with nested compositeOperations
1 parent e5bb273 commit aad8cb2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/easeljs/display/StageGL.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2587,7 +2587,8 @@ this.createjs = this.createjs||{};
25872587
continue;
25882588
}
25892589

2590-
if (item.compositeOperation !== null) {
2590+
var containerRenderMode = this._renderMode;
2591+
if (item.compositeOperation) {
25912592
this._updateRenderMode(item.compositeOperation);
25922593
}
25932594

@@ -2732,6 +2733,10 @@ this.createjs = this.createjs||{};
27322733
if (this._immediateRender) {
27332734
this._immediateBatchRender();
27342735
}
2736+
2737+
if (this._renderMode !== containerRenderMode) {
2738+
this._updateRenderMode(containerRenderMode);
2739+
}
27352740
}
27362741

27372742
if (this._renderMode !== previousRenderMode) {

0 commit comments

Comments
 (0)