fix warp text positioning on widescreen

This commit is contained in:
Khangaroo 2021-01-01 21:44:58 -05:00
parent 82cb203ef9
commit 8e0fb80c8c
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ impl GameEntity<(&Player, &Player)> for StageSelect {
let batch = state.texture_set.get_or_load_batch(ctx, &state.constants, "TextBox")?;
batch.add_rect(128.0, self.stage_select_text_y_pos as f32, &state.constants.textscript.stage_select_text);
batch.add_rect((state.canvas_size.0 / 2.0) - 32.0, self.stage_select_text_y_pos as f32, &state.constants.textscript.stage_select_text);
if slot_count > 0 {
batch.add_rect(slot_offset + self.current_teleport_slot as f32 * 40.0, 64.0, &state.constants.textscript.cursor[self.tick / 2 % 2]);
}