Resolved warnings

This commit is contained in:
Joshua Barretto 2019-09-26 16:07:09 +01:00
parent 1a2b32b44b
commit ccc10a0447
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
use super::{
img_ids::{Imgs, ImgsRot},
Event as HudEvent, Fonts, TEXT_COLOR, TEXT_COLOR_2,
Event as HudEvent, Fonts, TEXT_COLOR,
};
use crate::ui::{ImageFrame, Tooltip, TooltipManager, Tooltipable};
use client::Client;
@ -187,7 +187,7 @@ impl<'a> Widget for Bag<'a> {
&item.description(),
&item.category(),
&item_tooltip,
)
)
.set(state.ids.inv_slots[i], ui)
} else {
slot_widget.set(state.ids.inv_slots[i], ui)

View File

@ -35,7 +35,7 @@ use crate::{
render::{Consts, Globals, Renderer},
scene::camera::Camera,
settings::ControlSettings,
ui::{Ingameable, ScaleMode, TooltipManager, Ui},
ui::{Ingameable, ScaleMode, Ui},
window::{Event as WinEvent, GameInput},
GlobalState,
};