fix uninit values in applet and mouse (#114)

read before written; initialize so valgrind stops complaining

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/114
Co-authored-by: Esther1024 <danishreyjavik@outlook.com>
Co-committed-by: Esther1024 <danishreyjavik@outlook.com>
This commit is contained in:
Esther1024 2025-05-19 19:11:06 +00:00 committed by crueter
parent a776f5bc3b
commit ea7b9519c7
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ private:
Common::Vec2<float> last_mouse_change;
Common::Vec3<float> last_motion_change;
Common::Vec2<int> wheel_position;
bool button_pressed;
bool button_pressed = false;
std::jthread update_thread;
};