Reinserted call to position_centered()

macos-click-through
Rasmus Michelsen 5 years ago
parent fefce19262
commit 7d74833529

@ -135,6 +135,7 @@ impl WindowWrapper {
let window = video_subsystem let window = video_subsystem
.window("Neovide", logical_size.width, logical_size.height) .window("Neovide", logical_size.width, logical_size.height)
.position_centered()
.allow_highdpi() .allow_highdpi()
.resizable() .resizable()
.vulkan() .vulkan()
@ -142,7 +143,6 @@ impl WindowWrapper {
.expect("Failed to create window"); .expect("Failed to create window");
info!("window created"); info!("window created");
let skulpin_renderer = RendererBuilder::new() let skulpin_renderer = RendererBuilder::new()
.prefer_integrated_gpu() .prefer_integrated_gpu()
.use_vulkan_debug_layer(true) .use_vulkan_debug_layer(true)

Loading…
Cancel
Save