|
34 | 34 | input TitleInput
|
35 | 35 | input LabelInput
|
36 | 36 | input DurationInput
|
37 |
| - input BlockInput |
38 | 37 | input TargetInput
|
39 | 38 | input URLInput
|
40 | 39 | textarea InitCSS
|
@@ -343,7 +342,6 @@ SetupArrays:
|
343 | 342 | set the elements of DeleteStep to N
|
344 | 343 | set the elements of TitleInput to N
|
345 | 344 | set the elements of LabelInput to N
|
346 |
| - set the elements of BlockInput to N |
347 | 345 | set the elements of DurationInput to N
|
348 | 346 | set the elements of URLInput to N
|
349 | 347 | set the elements of ChainSelect to N
|
@@ -717,10 +715,12 @@ EditAnimate:
|
717 | 715 | set the style of TD to `width:6em`
|
718 | 716 | set the content of TD to `Block:`
|
719 | 717 | create TD in TR
|
720 |
| - index BlockInput to SelectedStep |
721 |
| - create BlockInput in TD |
722 |
| - set the style of BlockInput to `width:100%` |
723 |
| - set the content of BlockInput to property `block` of CurrentStep |
| 718 | + set the elements of BlockSelect to 1 |
| 719 | + put property `block` of CurrentStep into Block |
| 720 | + create BlockRow in TD |
| 721 | + create BlockSelect in BlockRow |
| 722 | + set the style of BlockSelect to `width:100%` |
| 723 | + set BlockSelect from BlockNames as Block |
724 | 724 | gosub to EditContinue
|
725 | 725 | return
|
726 | 726 |
|
@@ -1142,8 +1142,7 @@ SaveCurrentStep:
|
1142 | 1142 | end
|
1143 | 1143 | else if Action is `animate`
|
1144 | 1144 | begin
|
1145 |
| - index BlockInput to SelectedStep |
1146 |
| - set property `block` of CurrentStep to the text of BlockInput |
| 1145 | + set property `block` of CurrentStep to BlockSelect |
1147 | 1146 | index ContinueSelect to SelectedStep
|
1148 | 1147 | set property `continue` of CurrentStep to ContinueSelect
|
1149 | 1148 | end
|
|
0 commit comments