mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added Grid to main and offhand
Former-commit-id: 6395ba9142d6da3e14c7363e0f38f4fc61de6b79
This commit is contained in:
parent
cec01c0d69
commit
66eceb3ca7
@ -292,8 +292,8 @@ impl<'a> Widget for CharacterWindow<'a> {
|
||||
.color(Some(Color::Rgba(1.0, 1.0, 1.0, 0.1)))
|
||||
.set(state.mainhand_bg, ui);
|
||||
Button::image(self.imgs.grid)
|
||||
.w_h(28.0 * 1.8, 28.0 * 1.8)
|
||||
.middle_of(state.gem_bg)
|
||||
.w_h(28.0 * 2.2, 28.0 * 2.2)
|
||||
.middle_of(state.mainhand_bg)
|
||||
.set(state.mainhand_grid, ui);
|
||||
// Weapon Off-Hand
|
||||
Image::new(self.imgs.offhand_bg)
|
||||
@ -302,8 +302,8 @@ impl<'a> Widget for CharacterWindow<'a> {
|
||||
.color(Some(Color::Rgba(1.0, 1.0, 1.0, 0.1)))
|
||||
.set(state.offhand_bg, ui);
|
||||
Button::image(self.imgs.grid)
|
||||
.w_h(28.0 * 1.8, 28.0 * 1.8)
|
||||
.middle_of(state.gem_bg)
|
||||
.w_h(28.0 * 2.2, 28.0 * 2.2)
|
||||
.middle_of(state.offhand_bg)
|
||||
.set(state.offhand_grid, ui);
|
||||
|
||||
// Stats Tab
|
||||
|
Loading…
Reference in New Issue
Block a user