mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-03-25 11:29:30 +00:00
fix bleeding pixels in cutscene skip box (#78)
This commit is contained in:
parent
e1f1dd4554
commit
465825797e
|
@ -1985,7 +1985,7 @@ impl Scene for GameScene {
|
|||
draw_rect(ctx, rect, Color::from_rgb(128, 128, 160))?;
|
||||
|
||||
rect.left = ((state.canvas_size.0 - w) * state.scale) as isize;
|
||||
rect.right = rect.left + (w * state.scale) as isize;
|
||||
rect.right = rect.left + (w * state.scale).ceil() as isize;
|
||||
draw_rect(ctx, rect, Color::from_rgb(128, 128, 160))?;
|
||||
|
||||
state.font.draw_text_with_shadow(
|
||||
|
|
Loading…
Reference in a new issue