Commits

Chris Klimas committed b30b5fb

Adjust scissor for app inset

  • Participants
  • Parent commits 087a81c

Comments (0)

Files changed (1)

zoetrope/debug/instrument.lua

 
 	draw = function (self, x, y)
 		local sx, sy, sw, sh = love.graphics.getScissor()
-		love.graphics.setScissor(self.outerFrame.x - 1, self.outerFrame.y - 1,
+		love.graphics.setScissor(the.app.inset.x + self.outerFrame.x - 1,
+		                         the.app.inset.y + self.outerFrame.y - 1,
 		                         self.outerFrame.width + 2, self.outerFrame.height + 2)
 		Group.draw(self, x, y)