From 522cdc4fdbf701fe4ace02af5e891f884f14dc25 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 13 Dec 2021 21:06:22 +0800 Subject: ... --- src/ui/controls/TextHostControlService.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/controls/TextHostControlService.cpp') diff --git a/src/ui/controls/TextHostControlService.cpp b/src/ui/controls/TextHostControlService.cpp index bdb198d9..26484ae6 100644 --- a/src/ui/controls/TextHostControlService.cpp +++ b/src/ui/controls/TextHostControlService.cpp @@ -461,6 +461,8 @@ void TextHostControlService::MouseDownHandler( args.GetPointToContent(text_render_object)); const auto position = result.position + (result.trailing ? 1 : 0); SetSelection(position); + } else if (args.GetButton() == mouse_buttons::right) { + // TODO: Finish context menu logic here. } } } -- cgit v1.2.3