From 6d26716f33191217b24e1d05eb2f9c59704e0d94 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 17 May 2021 05:25:55 +0200 Subject: Keep selected item inside body on resize --- include/Body.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3