From 9ba59929c23c71a5231670a50c3fcb1165111c90 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 22 Mar 2021 10:40:21 +0100 Subject: Fix touch scroll clamping to selected item, making it appear laggy. Fix emoji offset for non 1.0 scaling --- include/SearchBar.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/SearchBar.hpp') diff --git a/include/SearchBar.hpp b/include/SearchBar.hpp index 4c9757c..b2cdf4d 100644 --- a/include/SearchBar.hpp +++ b/include/SearchBar.hpp @@ -67,6 +67,7 @@ namespace QuickMedia { bool input_masked; bool typing; bool backspace_pressed; + bool mouse_left_inside; float vertical_pos; sf::Clock time_since_search_update; }; -- cgit v1.2.3