Skip to content

Commit

Permalink
Revert "fix: column computing for squad info"
Browse files Browse the repository at this point in the history
This reverts commit 300e63f.
  • Loading branch information
buxx committed Apr 2, 2024
1 parent 1ae9a7c commit fc8c8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion battle_gui/src/ui/hud/squad.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl Component<HudEvent> for SquadStatuses {
}

fn width(&self, ctx: &Context) -> f32 {
ctx.gfx.drawable_size().0 - RIGHT_BOX_WIDTH - MARGIN * 2.
ctx.gfx.drawable_size().0 - SQUAD_DETAIL_WIDTH - RIGHT_BOX_WIDTH - MARGIN * 2.
}

fn height(&self, _ctx: &Context) -> f32 {
Expand Down

0 comments on commit fc8c8ca

Please sign in to comment.