399
401
local inset = self.inset.x ~= 0 or self.inset.y ~= 0
401
403
if inset then love.graphics.translate(self.inset.x, self.inset.y) end
405
406
if inset then love.graphics.translate(0, 0) end
407
408
-- sleep off any unneeded time to keep up at our FPS
409
410
local now = love.timer.getMicroTime()
411
412
if self._nextFrameTime < now then
412
413
self._nextFrameTime = now