Fixed a single raygui binding

This commit is contained in:
Synthasmagoria 2026-07-24 11:18:22 +02:00
commit e5fccefec0
5 changed files with 28 additions and 22 deletions

View file

@ -332,7 +332,8 @@ update :: proc() {
size := v2{224.0, 128.0}
position := v2(iv2{rl.GetRenderWidth(), rl.GetRenderHeight()} / 2.0) - size / 2.0
area := rect2{**position, **size}
action := rl.GuiMessageBox(area, "Message", program_messages[program.message_type], "Confirm;Cancel")
active := cast(^i32)&program.matrix_mode_perceived
action := rl.GuiMessageBox(area, "Message", program_messages[program.message_type], "Confirm;Cancel", active)
switch action {
case 0:
case 1: