Skip to content

Commit

Permalink
Move the menu to the right side of the window
Browse files Browse the repository at this point in the history
  • Loading branch information
romainreignier committed Jul 4, 2024
1 parent 2183c3d commit 114ef3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,9 @@ impl window::State for AppState {
window,
HOW_TO_USE_STR,
FONT_SIZE_USAGE,
&na::Point2::new(2000.0, 10.0),
// The x2 factor should be removed for kiss3d >= 0.36
// See: https://github.com/sebcrozet/kiss3d/issues/98
&na::Point2::new((window.width() as f32 * 2.0) - 900.0, 10.0),
&na::Point3::new(1f32, 1.0, 1.0),
);
}
Expand Down

0 comments on commit 114ef3f

Please sign in to comment.