Skip to content

Commit addfe5a

Browse files
removes close button from MicroUI debug panel
1 parent b93ad0e commit addfe5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gamelogic/debug_system.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ debug_system_render :: proc(ctx: ^mu.Context) {
166166
ctx.style.colors[.BUTTON_HOVER] = {80, 80, 80, 200} // Header hover
167167
ctx.style.colors[.BUTTON_FOCUS] = {100, 100, 100, 220} // Header focus
168168

169-
if mu.begin_window(ctx, "Debug System", {12, 12, 500, i32(g_state.resolution.y) - 24}) {
169+
if mu.begin_window(ctx, "Debug System", {12, 12, 500, i32(g_state.resolution.y) - 24}, {.NO_CLOSE}) {
170170
mu.layout_row(ctx, {-1}, 0)
171171
mu.label(ctx, fmt.tprintf("Panels: %d/%d", debug_sys.panel_count, MAX_DEBUG_PANELS))
172172

0 commit comments

Comments
 (0)