-
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.
- Loading branch information
Showing
2 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
13 changes: 7 additions & 6 deletions
13
...s/AnimationsEditor-Core.package/AnimationsEditorKeyframe.class/instance/selectProperty.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,13 +1,14 @@ | ||
as yet unclassified | ||
selectProperty | ||
|targetMorph property| | ||
targetMorph := self animationsEditor propertyList second. | ||
"targetMorph hasSubproperties | ||
ifTrue: [property := targetMorph subproperties keyAtValue: self track property]. | ||
^property asString." | ||
|targetMorph property parentProperty propertyList| | ||
"targetMorph := self animationsEditor propertyList second." | ||
parentProperty := self track property parentProperty title. | ||
propertyList := self animationsEditor propertyList. | ||
targetMorph := propertyList detect: [:each | parentProperty match: each title]. | ||
|
||
|
||
targetMorph hasSubproperties | ||
ifTrue: [property := targetMorph subproperties detect: [:each| self track property asString match: each asString]]. | ||
^property | ||
"^ self animationsEditor propertyList second subproperties at: self track property ." | ||
|
||
|
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