aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-17 05:25:55 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-17 05:25:55 +0200
commit6d26716f33191217b24e1d05eb2f9c59704e0d94 (patch)
tree90895e04fbd292c43018ab8e928057a8e86c60bc /include
parent7b3e55d2c7c77013fec8103bf52c2cbb23fb4935 (diff)
Keep selected item inside body on resize
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 8a3bce5..84d0f14 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -304,6 +304,7 @@ namespace QuickMedia {
float offset_to_top = 0.0f;
float offset_to_bottom = 0.0f;
int clamp_selected_item_to_body_count = 1;
+ int shit_hack_body_size_change = 0;
bool mouse_left_pressed = false;
bool mouse_left_clicked = false;
bool has_scrolled_with_input = false;