Skip to content

Commit ca2c8d9

Browse files
authored
Merge pull request #148 from easycoder/dev
Add vfx and json tabs
2 parents f7c277e + 781b3d0 commit ca2c8d9

File tree

14 files changed

+2289
-1454
lines changed

14 files changed

+2289
-1454
lines changed

dist/plugins/iwsy.js

Lines changed: 209 additions & 194 deletions
Large diffs are not rendered by default.

iwsy/iwsy.js

Lines changed: 1176 additions & 979 deletions
Large diffs are not rendered by default.

iwsy/resources/ecs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# EasyCoder scripts
2+
3+
The entire IWSY UI is a web application driven by EasyCoder scripts in this folder. The "home" script is `iwsy.js` and this loads others as it needs them. `scripted` is a color-coded editor for EasyCoder script files, that runs in `scripted.html`.

iwsy/resources/ecs/blocks.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ Restart:
147147
end
148148
on click EditButton
149149
begin
150+
if the elements of EditButton is not greater than the index of EditButton stop
150151
put the index of EditButton into SavedIndex
151152
gosub to SaveSelectedBlock
152153
put SavedIndex into SelectedBlock

iwsy/resources/ecs/content.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ Restart:
130130
end
131131
on click EditButton
132132
begin
133+
if the elements of EditButton is not greater than the index of EditButton stop
133134
put the index of EditButton into SavedIndex
134135
gosub to SaveSelectedItem
135136
put SavedIndex into SelectedItem
@@ -153,6 +154,7 @@ Restart:
153154
index Editor to SelectedItem
154155
if style `display` of Editor is `none`
155156
begin
157+
set style `display` of Editor to `block`
156158
put element SelectedItem of Items into Item
157159
set style `background-color` of EditButton to `lightgray`
158160
create Row in Editor
@@ -163,7 +165,6 @@ Restart:
163165
create ItemNameInput in Row
164166
set the style of ItemNameInput to `flex:1`
165167
set the text of ItemNameInput to property `name` of Item
166-
set style `display` of Editor to `block`
167168
create TextArea in Editor
168169
set the style of TextArea to `width:100%;max-width:100%;height:20em`
169170
put property `content` of Item into Content

0 commit comments

Comments
 (0)