diff --git a/hui-examples/examples/ui_test_6.rs b/hui-examples/examples/ui_test_6.rs index 0c81616..2373caa 100644 --- a/hui-examples/examples/ui_test_6.rs +++ b/hui-examples/examples/ui_test_6.rs @@ -1,5 +1,4 @@ use hui::{ - color, size, draw::TextureFormat, signal::Signal, layout::{Alignment, Direction}, @@ -8,10 +7,10 @@ use hui::{ text::Text, image::Image, br::Br, - interactable::ElementInteractableExt, slider::Slider, UiElementExt, }, + size, }; enum CounterSignal { diff --git a/hui/src/input.rs b/hui/src/input.rs index 37d5596..2803a53 100644 --- a/hui/src/input.rs +++ b/hui/src/input.rs @@ -3,8 +3,8 @@ use std::hash::{Hash, Hasher}; use glam::Vec2; use hashbrown::HashMap; -use nohash_hasher::{BuildNoHashHasher, NoHashHasher}; -use tinyset::{Fits64, Set64, SetU32}; +use nohash_hasher::BuildNoHashHasher; +use tinyset::{Fits64, Set64}; use crate::{event::{EventQueue, UiEvent}, rectangle::Rect}; /// Represents a mouse button.