Rounded courners.
This commit is contained in:
parent
82ab684a2c
commit
317106cd10
1 changed files with 12 additions and 1 deletions
|
@ -232,6 +232,17 @@ def layer(win, call):
|
|||
|
||||
|
||||
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):
|
||||
UI_elements.image(layer, win, rn_image,
|
||||
580,
|
||||
|
@ -252,7 +263,7 @@ def layer(win, call):
|
|||
int((win.current["h"]-200)/3*1.9),
|
||||
cell="render_preview")
|
||||
|
||||
|
||||
layer.reset_clip()
|
||||
|
||||
if win.render_runtime.get("to_render"):
|
||||
UI_color.set(layer, win, "text_normal")
|
||||
|
|
Loading…
Reference in a new issue