1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Small cleanup and renamings

This commit is contained in:
Emil Ernerfeldt
2023-11-07 19:37:46 +01:00
parent 701301efc2
commit 2d54b4b3e2
6 changed files with 19 additions and 20 deletions

View File

@@ -48,7 +48,7 @@ impl WindowSettings {
self.inner_size_points
}
pub fn initialize_window_builder(&self, mut window: ViewportBuilder) -> ViewportBuilder {
pub fn initialize_viewport_builder(&self, mut window: ViewportBuilder) -> ViewportBuilder {
// `WindowBuilder::with_position` expects inner position in Macos, and outer position elsewhere
// See [`winit::window::WindowBuilder::with_position`] for details.
let pos_px = if cfg!(target_os = "macos") {