Skip to content

Commit

Permalink
Fixup.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaheba committed Jan 13, 2025
1 parent 42ba810 commit accfa17
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ impl BarState {
// finished progress bars, so it's kept as to not cause compatibility issues in weird cases.
force_draw |= self.state.is_finished();

// let width = self.draw_target.width();

let mut drawable = match self.draw_target.drawable(force_draw, now) {
Some(drawable) => drawable,
None => return Ok(()),
Expand All @@ -205,7 +203,6 @@ impl BarState {
}
}
drop(draw_state);

drawable.draw()
}
}
Expand Down

0 comments on commit accfa17

Please sign in to comment.