Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created August 28, 2021 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save triacontane/ae6d79fb02bdcd581b5f87e2f456ce3a to your computer and use it in GitHub Desktop.
Save triacontane/ae6d79fb02bdcd581b5f87e2f456ce3a to your computer and use it in GitHub Desktop.
AdditionalDescription行間変更
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