Added screen dimensions to debug label

This commit is contained in:
Gordon Pedersen 2023-08-03 13:47:02 +10:00
parent b7985070ff
commit 3c1b0999c4

View file

@ -53,7 +53,7 @@ def debug_tick(args)
debug_label(
args, 24.from_right, 24.from_top,
"v#{version} | DR v#{$gtk.version} (#{$gtk.platform}) | Ticks: #{args.state.tick_count} | FPS: #{args.gtk.current_framerate.round}",
"v#{version} | DR v#{$gtk.version} (#{$gtk.platform}) | Ticks: #{args.state.tick_count} | FPS: #{args.gtk.current_framerate.round} | Win: #{args.grid.window_width}x#{args.grid.window_height}",
ALIGN_RIGHT)