Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/ui_parts/debug_content.gd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ func set_debug_visibility(visibility: bool) -> void:

# The strings here are intentionally not localized.
func update_debug() -> void:
var debug_text := ""
var debug_text := str(DisplayServer.screen_get_usable_rect(DisplayServer.window_get_current_screen())) + " | " +\
str(get_window().get_size_with_decorations()) + " | " +\
str(DisplayServer.window_get_current_screen()) + " | " +\
str(DisplayServer.screen_get_usable_rect()) + "\n"
debug_text += "FPS: %d\n" % Performance.get_monitor(Performance.TIME_FPS)
debug_text += "Static Mem: %s\n" % String.humanize_size(int(Performance.get_monitor(Performance.MEMORY_STATIC)))

Expand Down