summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-07-31 12:47:05 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-07-31 12:47:05 -0400
commit402a783e4d666639ee7268c03a90b01b94c10b2c (patch)
tree55c699b8af3b1414355509959ab6297300e8fc66
parentac1994900d5c464223fe870219a5767949d76b89 (diff)
node-2d: Code style tweaks to <sprite> definition.
-rw-r--r--starling/node-2d.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/starling/node-2d.scm b/starling/node-2d.scm
index 8e2149f..09894a3 100644
--- a/starling/node-2d.scm
+++ b/starling/node-2d.scm
@@ -679,11 +679,8 @@
(define-class <sprite> (<node-2d>)
(texture #:accessor texture #:init-keyword #:texture #:asset? #t)
- (tint #:accessor tint
- #:init-keyword #:tint
- #:init-form white)
- (blend-mode #:accessor blend-mode
- #:init-keyword #:blend-mode
+ (tint #:accessor tint #:init-keyword #:tint #:init-form white)
+ (blend-mode #:accessor blend-mode #:init-keyword #:blend-mode
#:init-form blend:alpha))
(define-method (default-width (sprite <sprite>))