diff options
author | crupest <crupest@outlook.com> | 2018-09-13 23:11:52 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-09-13 23:11:52 +0800 |
commit | 42f9f6c0bce5b3bea05edf4e371539fe21ea1c5d (patch) | |
tree | 53ddeb189912572fc45faaf1dffaad9a0e373d26 /CruUI/ui/controls/text_block.h | |
parent | 9f6803884704e277fe49ed046344ddaa44a7fd19 (diff) | |
download | cru-42f9f6c0bce5b3bea05edf4e371539fe21ea1c5d.tar.gz cru-42f9f6c0bce5b3bea05edf4e371539fe21ea1c5d.tar.bz2 cru-42f9f6c0bce5b3bea05edf4e371539fe21ea1c5d.zip |
...
Diffstat (limited to 'CruUI/ui/controls/text_block.h')
-rw-r--r-- | CruUI/ui/controls/text_block.h | 3 |
1 files changed, 1 insertions, 2 deletions
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<std::shared_ptr<TextLayoutHandler>> text_layout_handlers_; + bool is_selecting_ = false; unsigned mouse_down_position_ = 0; - bool is_mouse_moved_ = false; std::optional<TextRange> selected_range_ = std::nullopt; - bool is_selecting_ = false; events::UiEvent::EventHandlerPtr window_deactivated_handler_; }; |