Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ウィンドウのページ送りの矢印を横向きにする
Window_AudioCategory.prototype._refreshArrows = function() {
Window.prototype._refreshArrows.call(this);
var w = this._width;
var h = this._height;
var p = 24;
var q = p / 2;
this._downArrowSprite.rotation = 270 * Math.PI / 180;
this._downArrowSprite.move(w - q, h / 2);
this._upArrowSprite.rotation = 270 * Math.PI / 180;
this._upArrowSprite.move(q, h / 2);
};
@triacontane

This comment has been minimized.

Copy link
Owner Author

triacontane commented May 23, 2020

「Window_AudioCategory」のところに横向きにしたいウィンドウのクラスを指定して使います。

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.