mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
add 'fallback' property to xml and scripting
This commit is contained in:
parent
18e7fb55a6
commit
6aac90094e
5 changed files with 19 additions and 4 deletions
|
|
@ -11,5 +11,5 @@
|
|||
<label ifnot='%{error}' pos='80,28' size='355,50' multiline='true' color='#FFFFFFB2'>
|
||||
%{description}
|
||||
</label>
|
||||
<image pos='8,8' src='%{icon}' size='64'/>
|
||||
<image pos='8,8' src='%{icon}' fallback='gui/no_icon' size='64'/>
|
||||
</container>
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
hover-color='#162B3399'
|
||||
onclick='app.open_world("%{name}")'
|
||||
>
|
||||
<image pos='1' src='%{icon}' size='96,64'></image>
|
||||
<image pos='1' src='%{icon}' fallback='gui/no_world_icon' size='96,64'></image>
|
||||
<label pos='104,8'>%{name}</label>
|
||||
<button margin='4'
|
||||
gravity='center-right'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue