boids: when randomized, relayout.
parent
1b853c6e44
commit
90c6e2ade4
|
@ -110,7 +110,7 @@ M: range-observer model-changed
|
|||
[ drop ] [ start-boids-thread ] if ;
|
||||
|
||||
: com-randomize ( boids-gadget -- )
|
||||
[ length random-boids ] change-boids drop ;
|
||||
[ length random-boids ] change-boids relayout-1 ;
|
||||
|
||||
:: simulation-panel ( boids-gadget -- gadget )
|
||||
<pile> white-interior
|
||||
|
|
Loading…
Reference in New Issue