ui.render: small simplification
parent
f0fac14c14
commit
3b78ec7b6f
|
@ -104,9 +104,9 @@ M: gadget gadget-foreground dup interior>> pen-foreground ;
|
|||
] with-translation ;
|
||||
|
||||
: draw-border ( object -- )
|
||||
dup boundary>> dup [
|
||||
dup boundary>> [
|
||||
origin get [ draw-boundary ] with-translation
|
||||
] [ 2drop ] if ;
|
||||
] [ drop ] if* ;
|
||||
|
||||
PRIVATE>
|
||||
|
||||
|
|
Loading…
Reference in New Issue