From 46861440fddd0dba783887cb563451bad419d960 Mon Sep 17 00:00:00 2001 From: Dukantic Date: Fri, 18 Jul 2025 18:22:19 +0200 Subject: [PATCH] fix by cargo --- src/main.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main.rs b/src/main.rs index 68e230b..2b4caa7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,4 @@ mod polygon_draw; -use iced::advanced::subscription; use iced::keyboard::Modifiers; use polygon_draw::Polygon; @@ -14,17 +13,14 @@ use utils::{is_delta_format_valid, str_to_sec}; use std::fs; -use smol_str; -use smol_str::SmolStr; - use iced::widget::{TextInput, column, text}; use iced::{ Color, Event, Length, Padding, Task, Theme, event::{self, Status}, - keyboard::{Event::KeyPressed, Key, key::Named}, + keyboard::{Key, key::Named}, widget::{Column, button, canvas, container, pick_list, row, scrollable, slider}, }; -use iced::{Element, Font, Subscription, keyboard}; +use iced::{Element, Font}; use iced_aw::widget::color_picker; use std::f32::consts::PI;