diff --git a/examples/core-triangle/App.zig b/examples/core-triangle/App.zig index d1d10791..8bcba259 100644 --- a/examples/core-triangle/App.zig +++ b/examples/core-triangle/App.zig @@ -69,13 +69,6 @@ pub fn init( pub fn tick(app: *App, core: *mach.Core) void { while (core.nextEvent()) |event| { switch (event) { - .key_press => |ev| { - switch (ev.key) { - .right => core.windows.set(core.main_window, .width, core.windows.get(core.main_window, .width).? + 10), - .left => core.windows.set(core.main_window, .width, core.windows.get(core.main_window, .width).? - 10), - else => {}, - } - }, .close => core.exit(), else => {}, }