╭ changed ──╮ │src/web.zig│ ╰───────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭─────────────────────────────────────────────────────────────────────╮ │439 .ti = @fieldParentPtr("focus", child.focus),│ │440 }); │ │441 }, │ │442 - .submit_button => { │ │443 - submit = .{ │ │444 - .focus_id = entry.key_ptr.*, │ │445 - .x = child.rect.x, │ │446 - .y = child.rect.y, │ │447 - .width = child.rect.size.width, │ │448 - .height = child.rect.size.height, │ │449 - }; │ │442 + .custom => |custom| { │ │443 + if (std.mem.eql(u8, "submit", custom)) { │ │444 + submit = .{ │ │445 + .focus_id = entry.key_ptr.*, │ │446 + .x = child.rect.x, │ │447 + .y = child.rect.y, │ │448 + .width = child.rect.size.width, │ │449 + .height = child.rect.size.height, │ │450 + }; │ │451 + } │ │452 }, │ │453 else => {}, │ │454 } │ ╰─────────────────────────────────────────────────────────────────────╯