File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 31
31
module PhilosophyModule
32
32
module ContactModule
33
33
module LifeModule
34
+ module TechnicalModule
34
35
module CurrentModule
35
36
variable Script
36
37
variable ButtonStyle
@@ -116,6 +117,8 @@ BuildPage:
116
117
run Script with ShowdownModule as ContactModule
117
118
rest get Script from `/resources/ecs/life.ecs`
118
119
run Script with ShowdownModule as LifeModule
120
+ rest get Script from `/resources/ecs/technical.ecs`
121
+ run Script with ShowdownModule as TechnicalModule
119
122
120
123
alias CurrentModule to HomeModule
121
124
send to HomeModule
@@ -217,7 +220,12 @@ BuildPage:
217
220
set the text of TechnicalButton to `Technical Overview`
218
221
on click TechnicalButton
219
222
begin
220
- location `/technical.html`
223
+ ! location `/technical.html`
224
+ gosub to DeselectAllButtons
225
+ set style `background` of TechnicalButton to `darkgray`
226
+ send `pause` to CurrentModule
227
+ alias CurrentModule to TechnicalModule
228
+ send to ContactModule
221
229
end
222
230
223
231
create ButtonItem in ButtonList
@@ -270,4 +278,5 @@ DeselectAllButtons:
270
278
set style `background` of ExamplesButton to ``
271
279
set style `background` of AboutButton to ``
272
280
set style `background` of PhilosophyButton to ``
281
+ set style `background` of ContactButton to ``
273
282
return
You can’t perform that action at this time.
0 commit comments