mirror of
https://github.com/altoiddealer/--sd-webui-ar-plusplus.git
synced 2026-01-26 19:19:55 +00:00
Merge pull request #5 from LEv145/dev
Css change is hidden when the "Aspect Ratio" is changed. Buttons don't jump
This commit is contained in:
@@ -17,7 +17,7 @@ REVERSE_LOGIC_SYMBOL = "\U0001F503" # 🔃
|
||||
ROUND_SYMBOL = "\U0001F50D" # 🔍
|
||||
IMAGE_ROUNDING_MULTIPLIER = 4
|
||||
|
||||
is_reverse_logic_mode = False # Fixme: Global value
|
||||
is_reverse_logic_mode = False # FIXME: Global value
|
||||
|
||||
|
||||
class ResButton(ToolButton):
|
||||
@@ -339,7 +339,7 @@ class AspectRatioScript(scripts.Script):
|
||||
arc_desired_height = gr.Number(label="Height 2")
|
||||
|
||||
with gr.Column(min_width=150):
|
||||
arc_ar_display = gr.Markdown(value="Aspect Ratio:")
|
||||
arc_ar_display = gr.Markdown(value="Aspect Ratio:", elem_id="arc_ar_display_text")
|
||||
with gr.Row(
|
||||
elem_id=f'{"img" if is_img2img else "txt"}2img_arc_tool_buttons'
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user