Skip to content

Commit

Permalink
Fix GitAssetLoader API for loading animations
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusDoe committed Jan 5, 2024
1 parent b9ebe9a commit bbc8de0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
loading
loadAnimatedImageMorph: aStringOrPath
^ AnimatedImageMorph new
fromGIFReader: (self loadGIFReadWriter: aStringOrPath);
yourself
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
loading
loadAnimation: aStringOrPath
^ AnimatedImageMorph new
fromGIFReader: (self loadGIFReadWriter: aStringOrPath);
yourself
^ self loadAsset: aStringOrPath ofType: SquotAnimation
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
loading
loadGIFReadWriter: aStringOrPath
^ self loadAsset: aStringOrPath ofType: GIFReadWriter
^ (self loadAnimation: aStringOrPath) asGIFReadWriter
5 changes: 3 additions & 2 deletions src/Squot.package/GitAssetLoader.class/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
"basePath" : "mad 10/19/2023 12:14",
"basePath:" : "mad 11/21/2023 14:29",
"initialize" : "mad 11/21/2023 15:06",
"loadAnimation:" : "mad 10/21/2023 22:20",
"loadAnimatedImageMorph:" : "mad 1/6/2024 00:24",
"loadAnimation:" : "mad 1/6/2024 00:24",
"loadAsset:" : "mad 10/19/2023 13:58",
"loadAsset:ofType:" : "mad 10/19/2023 13:58",
"loadByteArray:" : "mad 12/8/2023 19:04",
"loadForm:" : "mad 10/19/2023 13:58",
"loadGIFReadWriter:" : "mad 10/21/2023 22:19",
"loadGIFReadWriter:" : "mad 1/6/2024 00:25",
"loadImageMorph:" : "mad 10/19/2023 13:58",
"loadPlaintext:" : "mad 12/8/2023 19:01",
"loadSound:" : "mad 10/19/2023 13:58",
Expand Down

0 comments on commit bbc8de0

Please sign in to comment.