1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-26 15:23:38 +00:00

Wrong dimension on clip width

This commit is contained in:
dawnDus 2022-01-25 00:13:51 -05:00
parent 95fd91b8a0
commit 3b307c7c9d
No known key found for this signature in database
GPG key ID: 972AABDE81848F21

View file

@ -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,
);