mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
fix scale9 sprite bug
This commit is contained in:
@@ -542,7 +542,6 @@ cc.Scale9Sprite = _ccsg.Node.extend({
|
||||
|
||||
//
|
||||
enableTrimmedContentSize: function(isTrimmed) {
|
||||
isTrimmed = isTrimmed || true;
|
||||
if(this._isTrimmedContentSize !== isTrimmed) {
|
||||
this._isTrimmedContentSize = isTrimmed;
|
||||
this._quadsDirty = true;
|
||||
|
||||
Reference in New Issue
Block a user