mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Changed the poisebar's position
This commit is contained in:
parent
65e6db9ef8
commit
202ac7ced8
@ -468,11 +468,7 @@ impl<'a> Skillbar<'a> {
|
|||||||
.set(state.ids.frame_energy, ui);
|
.set(state.ids.frame_energy, ui);
|
||||||
}
|
}
|
||||||
if show_poise && !self.health.is_dead {
|
if show_poise && !self.health.is_dead {
|
||||||
let offset = if show_health || decayed_health > 0.0 {
|
let offset = 17.0;
|
||||||
70.0
|
|
||||||
} else {
|
|
||||||
1.0
|
|
||||||
};
|
|
||||||
Image::new(self.imgs.poise_bg)
|
Image::new(self.imgs.poise_bg)
|
||||||
.w_h(323.0, 14.0)
|
.w_h(323.0, 14.0)
|
||||||
.mid_top_with_margin_on(state.ids.frame, -offset)
|
.mid_top_with_margin_on(state.ids.frame, -offset)
|
||||||
|
Loading…
Reference in New Issue
Block a user