mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-02 00:22:43 +08:00
fix CCSprite bug
This commit is contained in:
@@ -340,7 +340,6 @@ var Sprite = cc.Class({
|
||||
}
|
||||
if (!this._spriteFrame) return;
|
||||
|
||||
sgNode.setSpriteFrame(this._spriteFrame);
|
||||
var locLoaded = this._spriteFrame.textureLoaded();
|
||||
if (!locLoaded) {
|
||||
if ( !this._useOriginalSize ) {
|
||||
|
||||
Reference in New Issue
Block a user