aboutsummaryrefslogtreecommitdiff
path: root/CruUI/ui/controls/text_block.h
diff options
context:
space:
mode:
Diffstat (limited to 'CruUI/ui/controls/text_block.h')
-rw-r--r--CruUI/ui/controls/text_block.h3
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_;
};