diff options
author | lawnjelly <lawnjelly@gmail.com> | 2023-05-14 08:53:36 +0100 |
---|---|---|
committer | lawnjelly <lawnjelly@gmail.com> | 2023-06-12 11:14:58 +0100 |
commit | a3ef092f18842b369183f43772fc47830e2924ff (patch) | |
tree | d2ee6f911eb1fb814dd617cb13dd736fddefe280 /core/variant/variant_construct.cpp | |
parent | dcd31a25b473e8c6049224e586418de0f1ecdbf3 (diff) | |
download | redot-engine-a3ef092f18842b369183f43772fc47830e2924ff.tar.gz |
Input - fix just pressed and released with short presses
Previously if an action was both pressed and released on the same tick or frame, `is_action_just_pressed()` would return false, resulting in missed input.
This PR separately the timestamp for pressing and releasing so each can be tested independently.
Diffstat (limited to 'core/variant/variant_construct.cpp')
0 files changed, 0 insertions, 0 deletions