From 42f9f6c0bce5b3bea05edf4e371539fe21ea1c5d Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 13 Sep 2018 23:11:52 +0800 Subject: ... --- CruUI/ui/controls/text_block.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'CruUI/ui/controls/text_block.h') diff --git a/CruUI/ui/controls/text_block.h b/CruUI/ui/controls/text_block.h index 4c1f1fb1..689607ac 100644 --- a/CruUI/ui/controls/text_block.h +++ b/CruUI/ui/controls/text_block.h @@ -128,11 +128,10 @@ namespace cru Vector> text_layout_handlers_; + bool is_selecting_ = false; unsigned mouse_down_position_ = 0; - bool is_mouse_moved_ = false; std::optional selected_range_ = std::nullopt; - bool is_selecting_ = false; events::UiEvent::EventHandlerPtr window_deactivated_handler_; }; -- cgit v1.2.3