Commit Graph

12 Commits

Author SHA1 Message Date
roamindev
eb94a0937f 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).
2023-04-04 11:06:50 -04:00
roamindev
82699b5536 Simplify ratio calculation and other changes
Simplified ratio calculation, swapped calculator button icon for text to ensure browser compatibility, updated button styles, simplified self.image declaration.
2023-04-02 21:18:49 -04:00
roamindev
fd54596c19 Make recommended review changes
Made recommended review changes except where noted in review comments.
2023-03-31 22:27:15 -04:00
roamindev
2fc8d9e3b1 Added aspect ratio calculator
Added aspect ratio calculator panel inspired by the aspect ration calculator website by Andrew Hedges (https://andrew.hedges.name/experiments/aspect_ratio/)
2023-03-30 22:53:10 -04:00
Jonas Stare
5662bab6c8 Enable users to enter aspect rations as w/h 2023-02-22 22:14:14 +01:00
alemelis
9c0827baf0 pull the band-aid and get it over with 2023-02-20 08:55:04 +00:00
alemelis
a580c34aa7 fix for ar < 1 2023-02-08 09:31:15 +00:00
alemelis
60119a641c fix img2img tab 2023-02-06 14:21:15 +00:00
alemelis
ec93fa84f7 allow for custom resolution presets 2023-02-06 14:09:54 +00:00
alemelis
9c2a7edceb add resolutions.txt 2023-02-06 08:42:34 +00:00
minemo
81bb9c9428 Fixed encoding mismatch 2023-02-04 13:55:12 +01:00
alemelis
96d00ec25b port UI changes to extension 2023-02-03 10:18:32 +00:00