LEv145
57d1f99364
Update emojis
2023-07-02 17:41:41 +02:00
LEv145
1cc0eba459
Remove styles for emojis
2023-07-02 17:39:20 +02:00
LEv145
48fa82044c
Update emojis
2023-07-02 17:38:52 +02:00
LEv145
64ffba011f
Remove styles for emoji
2023-07-02 17:30:19 +02:00
LEv145
ba271a376b
Update description of new button
2023-07-02 17:29:31 +02:00
LEv145
a20b4542af
Update width of tool buttons
...
Because I use emoji, not text
2023-07-02 17:29:11 +02:00
LEv145
d1bf50f00c
Add button for change default logic of apply
...
Update styles
Rename constants to UPPERCASE
2023-07-02 13:54:58 +02:00
LEv145
2d34f694d3
Update aspect ratio panel
...
Aspect ratio changed according to wikipedia (https://en.wikipedia.org/wiki/Aspect_ratio_(image) )
Slightly redesigned for 1:1 for a better look
Update preview image
2023-07-01 12:27:49 +02:00
LEv145
9564f610fc
Update README.md
2023-07-01 02:56:25 +02:00
LEv145
530b194662
Update
2023-07-01 02:55:48 +02:00
LEv145
ffa554537b
Calculator button is returned
2023-07-01 02:55:19 +02:00
LEv145
46ef09f07f
Remove unused styles
2023-06-30 01:47:57 +02:00
LEv145
d99d1e9666
Update styles for img2img
2023-06-30 01:47:13 +02:00
LEv145
a08958d326
Update preview
2023-06-29 22:51:04 +02:00
LEv145
e5ae244e7c
Addbutton_titles.js to .gitignore
2023-06-29 22:41:01 +02:00
LEv145
2e8ddc97e4
Addbutton_titles.js to .gitignore
2023-06-29 22:40:52 +02:00
LEv145
9bfca5c57b
Add a little margin for buttons box
2023-06-29 20:59:00 +02:00
LEv145
45e097a877
Fix README
2023-06-29 19:00:05 +02:00
LEv145
a26a50a1a7
Fix README
2023-06-29 18:52:37 +02:00
LEv145
7fcf1fed2e
Fix README
2023-06-29 18:52:03 +02:00
LEv145
c312e96c73
Add fork description
2023-06-29 18:51:19 +02:00
LEv145
db639d5315
Updated to convenient settings
...
Make calculation of height and width inverse, that is, the way it is convenient for me
Disable `calculator_button` in css
Use flex(dynamic) width for all buttons
Add resolution presets by formula: `f(x) = 512 + (1024-512)/4*x, 0 <= x <= 4 `
Add ratios presets
2023-06-29 18:48:27 +02:00
alemelis
9df49dc2d7
fix
...
return round(h * (n / d))
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
2023-04-12 10:23:17 +01:00
alemelis
e83190228c
Merge pull request #13 from roamindev/add-calculator
...
Added Aspect Ratio Calculator Panel
2023-04-12 10:11:49 +01:00
roamindev
40e1de2c52
Fix JS File Path Variable
...
Corrected Path variable for button_titles.js file to proper formatting/usage.
2023-04-11 19:30:53 -04:00
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
11e9a8db03
Updated README.md with "Calc" button change
...
Corrected wording and replaced animated screenshot for new "Calc" button
2023-04-02 21:28:28 -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
870f5911b6
Update README.md Fixed Typo
...
Correcting typo in new calculator instructions - wording for the two source dimensions buttons was inconsistent.
2023-04-01 16:16:32 -04:00
roamindev
d539110adf
Update README.md with calculator instructions
...
Added section for calculate instructions with animated GIF showing basic usage.
2023-04-01 03:16:40 -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
alemelis
4ac84484cd
Merge pull request #12 from alemelis/css
...
Add style.css to fit labels inside buttons
2023-03-30 20:42:57 +01:00
alemelis
49e5c7d4a4
Update README.md
2023-03-30 20:42:07 +01:00
Alessandro Melis
54102f6ec8
Merge branch 'main' into css
2023-03-30 20:40:57 +01:00
Alessandro Melis
df702c6e9e
add style
2023-03-30 20:35:47 +01:00
alemelis
ce0a645ca2
Merge pull request #10 from yownas/main
...
Enable users to enter aspect rations as w/h in config
2023-02-23 13:59:23 +00:00
yownas
c1894e08af
Update examples with fractions.
2023-02-23 13:49:08 +01: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
0025cca34c
explain button-label
2023-02-06 15:50:36 +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
alemelis
1b044c883a
remove hard-coded aspect ratios
2023-02-05 11:24:33 +00:00
alemelis
91d85479e2
Merge pull request #2 from minemo/main
2023-02-04 18:29:55 +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
alemelis
d03cef0666
add empty readme
2023-02-02 10:38:00 +00:00