fix some warnings

This commit is contained in:
griffi-gh 2024-03-21 22:59:31 +01:00
parent 4bd93b3106
commit 1698961d5c
2 changed files with 3 additions and 4 deletions

View file

@ -1,5 +1,4 @@
use hui::{ use hui::{
color, size,
draw::TextureFormat, draw::TextureFormat,
signal::Signal, signal::Signal,
layout::{Alignment, Direction}, layout::{Alignment, Direction},
@ -8,10 +7,10 @@ use hui::{
text::Text, text::Text,
image::Image, image::Image,
br::Br, br::Br,
interactable::ElementInteractableExt,
slider::Slider, slider::Slider,
UiElementExt, UiElementExt,
}, },
size,
}; };
enum CounterSignal { enum CounterSignal {

View file

@ -3,8 +3,8 @@
use std::hash::{Hash, Hasher}; use std::hash::{Hash, Hasher};
use glam::Vec2; use glam::Vec2;
use hashbrown::HashMap; use hashbrown::HashMap;
use nohash_hasher::{BuildNoHashHasher, NoHashHasher}; use nohash_hasher::BuildNoHashHasher;
use tinyset::{Fits64, Set64, SetU32}; use tinyset::{Fits64, Set64};
use crate::{event::{EventQueue, UiEvent}, rectangle::Rect}; use crate::{event::{EventQueue, UiEvent}, rectangle::Rect};
/// Represents a mouse button. /// Represents a mouse button.