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