Created
August 28, 2021 05:21
-
-
Save triacontane/ae6d79fb02bdcd581b5f87e2f456ce3a to your computer and use it in GitHub Desktop.
AdditionalDescription行間変更
This file contains hidden or 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
const _Window_Help_calcTextHeight = Window_Help.prototype.calcTextHeight; | |
Window_Help.prototype.calcTextHeight = function(testState) { | |
const result = _Window_Help_calcTextHeight.apply(this, arguments); | |
if (this._anotherTextVisible && testState.text !== param.ChangePage) { | |
return result - 12; | |
} else { | |
return result; | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment