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:
@@ -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") {
|
||||
|
||||
Reference in New Issue
Block a user