mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 21:52:46 +00:00
Wrong dimension on clip width
This commit is contained in:
parent
95fd91b8a0
commit
3b307c7c9d
|
@ -164,7 +164,7 @@ impl PauseMenu {
|
|||
let clip_rect = crate::common::Rect::new_size(
|
||||
0,
|
||||
(state.screen_size.1 / 2.0) as isize - clip_y,
|
||||
state.screen_size.1 as isize,
|
||||
state.screen_size.0 as isize,
|
||||
clip_y * 2,
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue