Rounded courners.

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2023-03-28 12:09:15 +00:00
parent 82ab684a2c
commit 317106cd10

View file

@ -232,6 +232,17 @@ def layer(win, call):
rn_image = win.project+folder+"/"+save_folder+"/"+preview_image rn_image = win.project+folder+"/"+save_folder+"/"+preview_image
# CLIP
UI_elements.roundrect(layer, win,
580,
100,
win.current["w"] - 630,
int((win.current["h"]-200)/3*1.9),
10,
fill=False)
layer.clip()
if os.path.exists(rn_image): if os.path.exists(rn_image):
UI_elements.image(layer, win, rn_image, UI_elements.image(layer, win, rn_image,
580, 580,
@ -252,7 +263,7 @@ def layer(win, call):
int((win.current["h"]-200)/3*1.9), int((win.current["h"]-200)/3*1.9),
cell="render_preview") cell="render_preview")
layer.reset_clip()
if win.render_runtime.get("to_render"): if win.render_runtime.get("to_render"):
UI_color.set(layer, win, "text_normal") UI_color.set(layer, win, "text_normal")