chore: run clippy and cargo fmt on pending changes
This commit is contained in:
parent
374e1996d9
commit
98efc8cbe0
8 changed files with 34 additions and 24 deletions
|
@ -16,6 +16,7 @@ use winit::dpi::LogicalSize;
|
|||
use winit::dpi::Size;
|
||||
use winit::event::{KeyEvent, WindowEvent};
|
||||
use winit::event_loop::{ActiveEventLoop, ControlFlow, EventLoop};
|
||||
#[cfg(target_os = "windows")]
|
||||
use winit::platform::windows::WindowAttributesExtWindows;
|
||||
use winit::window::Fullscreen;
|
||||
use winit::window::Icon;
|
||||
|
@ -101,8 +102,8 @@ impl App<'_> {
|
|||
let win_attr = Window::default_attributes()
|
||||
.with_title("Zenyx")
|
||||
.with_min_inner_size(Size::Logical(LogicalSize::new(100.0, 100.0)))
|
||||
.with_window_icon(icon.clone())
|
||||
.with_taskbar_icon(icon);
|
||||
.with_window_icon(icon.clone());
|
||||
// .with_taskbar_icon(icon);
|
||||
|
||||
match event_loop.create_window(win_attr) {
|
||||
Ok(window) => {
|
||||
|
@ -268,8 +269,8 @@ impl App<'_> {
|
|||
let base = Window::default_attributes()
|
||||
.with_title(title)
|
||||
.with_min_inner_size(Size::Logical(LogicalSize::new(100.0, 100.0)))
|
||||
.with_window_icon(icon.clone())
|
||||
.with_taskbar_icon(icon);
|
||||
.with_window_icon(icon.clone());
|
||||
// .with_taskbar_icon(icon);
|
||||
|
||||
match main_ctx.window_handle() {
|
||||
Ok(handle) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue