Add JS based button titles

Add button titles on UI load. Use comments in aspect_ratios.txt and resolutions.txt to for user configured buttons, and hard-coded titles in sd-webui-ar.js for built-in buttons (i.e. for calculator).
This commit is contained in:
roamindev
2023-04-04 11:06:50 -04:00
parent 11e9a8db03
commit eb94a0937f
3 changed files with 204 additions and 163 deletions

View File

@@ -0,0 +1,2 @@
// Do not put custom titles here. This file is overwritten each time the WebUI is started.
ar_button_titles = {}