Skip to content

Commit

Permalink
Pixi: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
foxnne committed Jan 9, 2025
1 parent 2385265 commit 648285c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pixi.zig
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ pub fn tick(app_mod: mach.Mod(App), editor_mod: mach.Mod(Editor)) !void {
app.should_close = should_close;
},
.window_resize => |resize| {
const window = core.windows.gsetValue(app.window);
const window = core.windows.getValue(app.window);
app.window_size = .{ @floatFromInt(resize.size.width), @floatFromInt(resize.size.height) };
app.framebuffer_size = .{ @floatFromInt(window.framebuffer_width), @floatFromInt(window.framebuffer_height) };
app.content_scale = .{
Expand Down

0 comments on commit 648285c

Please sign in to comment.