Upload files to 'UI'

This commit is contained in:
Jeison Yehuda Amihud (Blender Dumbass) 2020-12-01 17:35:15 +00:00
parent ae196afd98
commit d3b2ca3cff

View file

@ -33,6 +33,12 @@ def roundrect(layer, win, x, y, width, height, r, button=False, icon=False,
#if not current url in the software
if url and url != win.url:
# So icons would not disappear LOL
if icon:
image(layer, win, "settings/themes/"\
+win.settings["Theme"]+"/icons/"+icon+".png", x, y)
return
# If UI testing is on preview. Buttons.