mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Resolved warnings
This commit is contained in:
parent
1a2b32b44b
commit
ccc10a0447
@ -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)
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user