Remove debug println & accidentally added whitespace
This commit is contained in:
parent
fe75646f82
commit
6de9a5e076
1 changed files with 5 additions and 6 deletions
|
|
@ -67,7 +67,6 @@ impl Window {
|
||||||
|
|
||||||
let (width, height) = self.size;
|
let (width, height) = self.size;
|
||||||
|
|
||||||
println!("patched window with trasparent");
|
|
||||||
window_builder = window_builder
|
window_builder = window_builder
|
||||||
.with_title(title)
|
.with_title(title)
|
||||||
.with_inner_size(winit::dpi::LogicalSize { width, height })
|
.with_inner_size(winit::dpi::LogicalSize { width, height })
|
||||||
|
|
@ -88,13 +87,13 @@ impl Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
{
|
{
|
||||||
use winit::platform::windows::WindowBuilderExtWindows;
|
use winit::platform::windows::WindowBuilderExtWindows;
|
||||||
|
|
||||||
if let Some(parent) = self.platform_specific.parent {
|
if let Some(parent) = self.platform_specific.parent {
|
||||||
window_builder = window_builder.with_parent_window(parent);
|
window_builder = window_builder.with_parent_window(parent);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
window_builder
|
window_builder
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue