Significantly optimize drag select performance

This commit is contained in:
Jeremy Soller 2025-07-10 13:57:41 -06:00
parent b7c9ed8dff
commit 7524487ba7
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA
3 changed files with 89 additions and 88 deletions

View file

@ -30,7 +30,7 @@ use cosmic::{
Alignment, Event, Length, Point, Rectangle, Size, Subscription,
},
iced_runtime::clipboard,
style, theme,
style, surface, theme,
widget::{
self,
dnd_destination::DragId,
@ -41,7 +41,6 @@ use cosmic::{
},
Application, ApplicationExt, Element,
};
use cosmic::{iced::mouse::Event::CursorMoved, surface};
use mime_guess::Mime;
use notify_debouncer_full::{
new_debouncer,