File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -53,10 +53,13 @@ Start:
53
53
attach CodexButton to `about-codex`
54
54
on click CodexButton
55
55
begin
56
- alert `Codex`
57
- require js `dist/plugins/codemirror.js`
58
- rest get Codex from `/resources/ecs/codex.ecs`
59
- send `hide` to parent
60
- run Codex
56
+ if Codex is not running
57
+ begin
58
+ require js `dist/plugins/codemirror.js`
59
+ rest get Codex from `/resources/ecs/codex.ecs`
60
+ send `hide` to parent
61
+ run Codex
62
+ end
63
+ send `start` to Codex
61
64
end
62
65
stop
Original file line number Diff line number Diff line change @@ -332,16 +332,21 @@ L2:
332
332
remove element Body
333
333
send `restore` to parent
334
334
history set url `.`
335
- exit
335
+ ! exit
336
+ set style `display` of Body to `none`
336
337
end
337
338
338
339
on message
339
340
begin
340
341
put the message into Message
342
+ if Message is `start`
343
+ begin
344
+ set style `display` of Body to `block`
345
+ end
341
346
if Message is `next` go to StepForward
342
347
if Message is `tutorial`
343
348
begin
344
- set style `display` of ReferencePanel to `none`
349
+ set style `display` of ReferencePanel to `none`
345
350
set style `display` of HelpPanel to `block`
346
351
set style `display` of HelpButtons to `block`
347
352
put empty into storage as `.ref`
You can’t perform that action at this time.
0 commit comments