mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fixed merging issue, tooltip descriptions colour
This commit is contained in:
parent
3a8b146687
commit
1a2b32b44b
@ -2,7 +2,7 @@ use super::{
|
||||
img_ids::{Imgs, ImgsRot},
|
||||
Event as HudEvent, Fonts, TEXT_COLOR, TEXT_COLOR_2,
|
||||
};
|
||||
use crate::ui::{ImageFrame, Tooltip, Tooltipable};
|
||||
use crate::ui::{ImageFrame, Tooltip, TooltipManager, Tooltipable};
|
||||
use client::Client;
|
||||
use conrod_core::{
|
||||
color,
|
||||
@ -113,7 +113,7 @@ impl<'a> Widget for Bag<'a> {
|
||||
.title_font_size(15)
|
||||
.desc_font_size(10)
|
||||
.title_text_color(TEXT_COLOR)
|
||||
.desc_text_color(TEXT_COLOR_2);
|
||||
.desc_text_color(TEXT_COLOR);
|
||||
|
||||
// Bag parts
|
||||
Image::new(self.imgs.bag_bot)
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user