микроправки
This commit is contained in:
@@ -94,7 +94,7 @@ fn gui_frame(ctx: *WindowContext) bool {
|
||||
std.debug.print("Error filling canvas: {}\n", .{err});
|
||||
};
|
||||
canvas.pos = .{ .x = 400, .y = 400 };
|
||||
canvas.zoom = dvui.windowNaturalScale();
|
||||
canvas.setZoom(dvui.windowNaturalScale());
|
||||
}
|
||||
if (dvui.checkbox(@src(), &canvas.native_scaling, "Scaling", .{})) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user