Skip to content

Commit 6370b15

Browse files
committed
Fixed a bug that scale9Sprite position error
1 parent 12fabab commit 6370b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/ccui/base-classes/UIScale9SpriteWebGLRenderCmd.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
proto.setDirtyFlag = function (dirtyFlag, child) {
106106
// ignore cache dirty, it's only for canvas
107107
if (dirtyFlag === cc.Node._dirtyFlags.cacheDirty)
108-
return;
108+
dirtyFlag = cc.Node._dirtyFlags.transformDirty;
109109
cc.Node.RenderCmd.prototype.setDirtyFlag.call(this, dirtyFlag, child);
110110
};
111111

0 commit comments

Comments
 (0)