From 257c2bbf0395af48a67d20baad95cf081557ecac Mon Sep 17 00:00:00 2001 From: 4DBug <115124145+4DBug@users.noreply.github.com> Date: Sat, 17 Oct 2026 05:49:11 -0500 Subject: [PATCH] t_demo: enable metrics overlays, custom ticks, about config info --- tests/t_demo.luau | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/t_demo.luau b/tests/t_demo.luau index 3bbe112..d50ac5d 100644 --- a/tests/t_demo.luau +++ b/tests/t_demo.luau @@ -21,6 +21,12 @@ ImGui.TreeNode = function(label, ...) ImGui.SetNextItemOpen(true) return TreeNode(label, ...) end +-- turn on every "Show ..." checkbox (metrics overlays, custom ticks/labels, about config info) +local Checkbox = ImGui.Checkbox +ImGui.Checkbox = function(label, v) + if string.sub(label, 1, 5) == "Show " or label == "Config/Build Information" then return false, true end + return Checkbox(label, v) +end local tabs = { "Plots", "Axes", "Tools", "Custom", "Config", "Help" } local style_tabs = { "Variables", "Colors", "Colormaps" } local phase, seen = 1, {}