mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
cc.SpriteFrame undefined on JSB fix.
This commit is contained in:
@@ -536,8 +536,6 @@ proto.copyWithZone = proto.clone;
|
||||
proto.copy = proto.clone;
|
||||
proto.initWithTexture = proto.setTexture;
|
||||
|
||||
if (!CC_JSB) {
|
||||
cc.SpriteFrame = SpriteFrame;
|
||||
}
|
||||
cc.SpriteFrame = SpriteFrame;
|
||||
|
||||
module.exports = SpriteFrame;
|
||||
|
||||
Reference in New Issue
Block a user