mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-22 21:52:46 +00:00
fix Yes/No animation
This commit is contained in:
parent
75e05c5ca5
commit
9b4fd7d1a0
|
@ -542,7 +542,7 @@ impl GameScene {
|
|||
|
||||
if let TextScriptExecutionState::WaitConfirmation(_, _, _, wait, selection) = state.textscript_vm.state {
|
||||
let pos_y = if wait > 14 {
|
||||
state.canvas_size.1 - off_bottom - 96.0 - (wait as f32 + 2.0) * 4.0
|
||||
state.canvas_size.1 - off_bottom - 96.0 + (wait as f32 + 2.0)
|
||||
} else {
|
||||
state.canvas_size.1 - off_bottom - 96.0
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue