summaryrefslogtreecommitdiff
path: root/starling/node-2d.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-04-14 20:58:17 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-04-14 20:58:17 -0400
commit91d6b335df7ba05add0335c144582c36e01b32a4 (patch)
tree4da3f5ccc6813eeebfaf7a3a2fc862d697999d43 /starling/node-2d.scm
parent3c13b0dad09594c2c6181a1cec42c3dc1d04c8a2 (diff)
node-2d: Add missing position-y accessor.
Diffstat (limited to 'starling/node-2d.scm')
-rw-r--r--starling/node-2d.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm
index 93d02c8..ed3b619 100644
--- a/starling/node-2d.scm
+++ b/starling/node-2d.scm
@@ -244,7 +244,7 @@
#:slot-set! (lambda (node x)
(set-vec2-x! (position node) x)
(dirty! node)))
- (position-y #:accessor y #:allocation #:virtual
+ (position-y #:accessor position-y #:allocation #:virtual
#:slot-ref (lambda (node) (vec2-y (position node)))
#:slot-set! (lambda (node y)
(set-vec2-y! (position node) y)