From 4aada674adaab64e53d2032a171af45591284a8f Mon Sep 17 00:00:00 2001 From: len0rd Date: Tue, 5 Aug 2025 09:55:28 -0400 Subject: [PATCH] core: require that the user manually call suit:enterFrame during update/draw so that manually specifying mouse coordinates works --- core.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core.lua b/core.lua index ef02bce..f2442bc 100644 --- a/core.lua +++ b/core.lua @@ -213,14 +213,14 @@ function suit:registerDraw(f, ...) end function suit:draw() - self:exitFrame() + -- self:exitFrame() -- CALL these manually in your update method love.graphics.push('all') for i = self.draw_queue.n,1,-1 do self.draw_queue[i]() end love.graphics.pop() self.draw_queue.n = 0 - self:enterFrame() + -- self:enterFrame() -- CALL these manually in your update method end return suit