diff options
author | Colin Okay <colin@cicadas.surf> | 2022-07-06 09:33:14 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-07-06 09:33:14 -0500 |
commit | fda1d9d08349dfe103b7af3ef8f305c1701933f6 (patch) | |
tree | 5cb896cf87d140df5bd05cb1f56566cfb0f17407 /src/interactive/frameset.lisp | |
parent | 8c94460d8c8f8b44ca9bcdebbf2906e84c969b19 (diff) |
[refactor] containers have render bounds
Diffstat (limited to 'src/interactive/frameset.lisp')
-rw-r--r-- | src/interactive/frameset.lisp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interactive/frameset.lisp b/src/interactive/frameset.lisp index 51c7ecd..a8ba079 100644 --- a/src/interactive/frameset.lisp +++ b/src/interactive/frameset.lisp @@ -67,6 +67,9 @@ (def-frameset-accessors x y scale-x scale-y width height rotation)) +(defmethod get-rect ((fs frameset)) + (get-rect (current-frame-unit fs))) + (defun make-frameset (sequenced-assets &key (fps 2) asset-args) (let* ((asset-names (remove-duplicates sequenced-assets :test #'equal)) |