Skip to content

Commit cb31eed

Browse files
committed
Life: Disable draw button until setup is pressed
The model would throw an error otherwise when the instruction note on the screen makes it seem like you should be able to draw right away.
1 parent 22262f6 commit cb31eed

File tree

1 file changed

+1
-1
lines changed
  • Sample Models/Computer Science/Cellular Automata

1 file changed

+1
-1
lines changed

Sample Models/Computer Science/Cellular Automata/Life.nlogox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ you can add or remove
8282
cells by holding down
8383
the mouse button
8484
and "drawing".</note>
85-
<button x="9" y="138" height="35" disableUntilTicks="false" forever="true" kind="Observer" width="103">draw-cells</button>
85+
<button x="9" y="138" height="35" disableUntilTicks="true" forever="true" kind="Observer" width="103">draw-cells</button>
8686
<input x="119" multiline="false" y="328" height="60" variable="fgcolor" type="color" width="155">123.0</input>
8787
<input x="119" multiline="false" y="390" height="60" variable="bgcolor" type="color" width="155">79.0</input>
8888
<button x="11" y="221" height="38" disableUntilTicks="true" forever="false" kind="Observer" width="103" display="go-once">go</button>

0 commit comments

Comments
 (0)