From fda1d9d08349dfe103b7af3ef8f305c1701933f6 Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Wed, 6 Jul 2022 09:33:14 -0500 Subject: [refactor] containers have render bounds --- src/interactive/frameset.lisp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/interactive/frameset.lisp') 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)) -- cgit v1.2.3