summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2020-09-29 20:02:18 -0400
committerDavid Thompson <dthompson@vistahigherlearning.com>2020-09-29 20:04:20 -0400
commit4ca1bbe864419f4b1ac4f7dd0ae07f9fb259c07f (patch)
treeff18594bf79c66a1beaa66eb01f83e8254542bce
parentfbbc53e052d07dc7ec600028dd120ee23d918211 (diff)
node: Make rank read-only.
-rw-r--r--starling/node.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/starling/node.scm b/starling/node.scm
index dd94220..ce7ff80 100644
--- a/starling/node.scm
+++ b/starling/node.scm
@@ -64,7 +64,7 @@
(name #:getter name #:init-form #f #:init-keyword #:name)
;; An integer value that determines priority order for
;; updating/rendering.
- (rank #:accessor rank #:init-value 0 #:init-keyword #:rank)
+ (rank #:getter rank #:init-value 0 #:init-keyword #:rank)
;; The node that this node is attached to. A node may only have one
;; parent.
(parent #:accessor parent #:init-form #f)