chore: run clippy and cargo fmt on pending changes

This commit is contained in:
Chance 2025-04-07 23:06:48 -04:00 committed by BitSyndicate
parent 374e1996d9
commit 98efc8cbe0
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 443E4198D6BBA6DE
8 changed files with 34 additions and 24 deletions

View file

@ -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) => {