Created
May 23, 2020 03:10
-
-
Save triacontane/7722d4c295e31a573f333813c807e2e7 to your computer and use it in GitHub Desktop.
ウィンドウのページ送りの矢印を横向きにする
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
「Window_AudioCategory」のところに横向きにしたいウィンドウのクラスを指定して使います。