triangle: Remove input keys to change window size, this was just a test
This commit is contained in:
parent
0546c3d5ca
commit
319f2d8fb8
1 changed files with 0 additions and 7 deletions
|
|
@ -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 => {},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue