delete some early debug UI code
This commit is contained in:
parent
62cb18ad49
commit
fe8711224a
|
@ -88,12 +88,6 @@ on.keychord_press = function(chord, key)
|
|||
elseif chord == 'S-right' then
|
||||
Viewport.x = Viewport.x + App.screen.width/Viewport.zoom
|
||||
B()
|
||||
elseif chord == 'M-1' then
|
||||
if Debug_draw_fn ~= draw_debug_ui1 then
|
||||
Debug_draw_fn = draw_debug_ui1
|
||||
else
|
||||
Debug_draw_fn = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
|
@ -34,7 +34,4 @@ on.draw = function()
|
|||
draw_test_failure_indicator()
|
||||
draw_ticks()
|
||||
draw_menu_bar()
|
||||
if Debug_draw_fn then
|
||||
Debug_draw_fn()
|
||||
end
|
||||
end
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
draw_debug_ui1 = function()
|
||||
local x, y = App.screen.width/3, App.screen.height/3
|
||||
local w, h = App.screen.width/3, App.screen.height/3
|
||||
App.color{r=1, g=1, b=1}
|
||||
love.graphics.rectangle('fill', x,y, w, h)
|
||||
App.color{r=0, g=0, b=0}
|
||||
love.graphics.rectangle('line', x+10, y+10, w-20, h-20, 5,5)
|
||||
end
|
|
@ -1 +0,0 @@
|
|||
Debug_draw_fn = nil
|
Loading…
Reference in New Issue