Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
EnemyBookで落ちるバグ対処
//License: MIT
Sprite.prototype._onBitmapLoad = function() {
if (!!this._bitmap && this._frame.width === 0 && this._frame.height === 0) {
this._frame.width = this._bitmap.width;
this._frame.height = this._bitmap.height;
}
this._refresh();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.