summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-12-27 07:09:33 -0500
committerDavid Thompson <dthompson2@worcester.edu>2022-12-27 07:09:33 -0500
commitc7a76837602d29c8bfe9f0266ebce79fb200e6a6 (patch)
tree9b88779ed7ae6f0a055de0da6433f4eaeec5dc24
parente0575aea932f2e332d57bb85987154581bd40456 (diff)
node-2d: Call next-method in sprite on-change method.
-rw-r--r--catbird/node-2d.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/catbird/node-2d.scm b/catbird/node-2d.scm
index d1cb9e4..b2c7d95 100644
--- a/catbird/node-2d.scm
+++ b/catbird/node-2d.scm
@@ -786,7 +786,8 @@ A."
(let ((new (artifact (->asset new))))
(resize sprite
(texture-width new)
- (texture-height new))))))
+ (texture-height new)))))
+ (next-method))
(define-method (render (sprite <sprite>) alpha)
(let ((t (texture sprite)))