Skip to content

Commit

Permalink
Merge branch 'dev' into release/2.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
uguraslan committed Oct 25, 2023
2 parents 94e5551 + 228fb25 commit d24410a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree/Element.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ export default class Element {
}
}

const prevSource = this.__core.displayedTextureSource ? this.__core.displayedTextureSource._source : null;
const prevSource = this.__core.displayedTextureSource;
const sourceChanged = (v ? v._source : null) !== prevSource;

this.__displayedTexture = v;
Expand Down

0 comments on commit d24410a

Please sign in to comment.