aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-17 13:31:04 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-17 13:31:04 +0800
commitc9f31440d65a867e2316e9a19ee3f5db2d0e53a7 (patch)
treee5ea356d86222360f5a2fb79bf72478eb3bf1ebe /include/cru/ui
parentd7874664af04ac7fd56cfffbaba4511b3a77f12d (diff)
downloadcru-c9f31440d65a867e2316e9a19ee3f5db2d0e53a7.tar.gz
cru-c9f31440d65a867e2316e9a19ee3f5db2d0e53a7.tar.bz2
cru-c9f31440d65a867e2316e9a19ee3f5db2d0e53a7.zip
Revert removing SelfResolvable.
Diffstat (limited to 'include/cru/ui')
-rw-r--r--include/cru/ui/controls/TextHostControlService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/ui/controls/TextHostControlService.h b/include/cru/ui/controls/TextHostControlService.h
index 40ba017a..e57075d3 100644
--- a/include/cru/ui/controls/TextHostControlService.h
+++ b/include/cru/ui/controls/TextHostControlService.h
@@ -208,6 +208,6 @@ class CRU_UI_API TextHostControlService : public Object {
// true if left mouse is down and selecting
bool mouse_move_selecting_ = false;
- DeleteLaterPtr<components::PopupMenu> context_menu_;
+ std::unique_ptr<components::PopupMenu> context_menu_;
};
} // namespace cru::ui::controls