1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Now all sizes are in Vec2 insted of Pos2

This commit is contained in:
Konkitoman
2023-09-26 18:33:57 +03:00
parent b719e1c030
commit 6a5838c119
3 changed files with 16 additions and 16 deletions

View File

@@ -62,7 +62,7 @@ impl WindowSettings {
if let Some(inner_size_points) = self.inner_size_points {
window
.with_inner_size(Some(inner_size_points.to_pos2()))
.with_inner_size(Some(inner_size_points))
.with_fullscreen(self.fullscreen)
} else {
window