-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete button removes morph from the world and tree spec morph from t…
…he editor
- Loading branch information
Showing
5 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
8 changes: 6 additions & 2 deletions
8
packages/AnimationsEditor-Core.package/AnimationsEditor.class/instance/deleteMorph.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
messaging | ||
deleteMorph | ||
|
||
self propertyList remove: self propertyList first. | ||
|
||
self selectedTreeNode ifNil: [^ 'break']. | ||
self propertyList copy do: [:each | self selectedTreeNode targetMorph = each targetMorph ifTrue: [each targetMorph extent: 0@0. each targetMorph abandon. self propertyList remove: each]]. | ||
|
||
self propertyTreeMorph update: self propertyTreeMorph getChildrenSelector. | ||
|
||
|
||
|
3 changes: 0 additions & 3 deletions
3
packages/AnimationsEditor-Core.package/AnimationsEditor.class/instance/treeSpec..st
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
packages/AnimationsEditor-Core.package/AnimationsEditor.class/instance/treeSpec.st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters