Skip to content

Commit 5946612

Browse files
committed
Development
1 parent cc7814e commit 5946612

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

iwsy/resources/ecs/iwsy.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,9 @@ DoRunStop:
558558
put property `steps` of Presentation into Item
559559
if the json count of Item is 0 stop
560560
set attribute `src` of RunStop to `resources/icon/runstop.png`
561+
562+
put 0 into N
563+
gosub to SelectSection
561564

562565
iwsy onstep
563566
begin

iwsy/resources/ecs/steps.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -850,8 +850,8 @@ SaveCurrentStep:
850850
set Blocks to array
851851
set property `blocks` of CurrentStep to Blocks
852852
end
853-
put property `duration` of CurrentStep into Duration
854-
if Duration is empty set property `duration` of CurrentStep to 1
853+
index DurationInput to SelectedStep
854+
set property `duration` of CurrentStep to the text of DurationInput
855855
end
856856
else if Action is `fade down`
857857
begin
@@ -861,8 +861,8 @@ SaveCurrentStep:
861861
set Blocks to array
862862
set property `blocks` of CurrentStep to Blocks
863863
end
864-
put property `duration` of CurrentStep into Duration
865-
if Duration is empty set property `duration` of CurrentStep to 1
864+
index DurationInput to SelectedStep
865+
set property `duration` of CurrentStep to the text of DurationInput
866866
end
867867
else if Action is `crossfade`
868868
begin

0 commit comments

Comments
 (0)