diff options
author | crupest <crupest@outlook.com> | 2021-12-13 21:06:22 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-12-13 21:06:22 +0800 |
commit | 522cdc4fdbf701fe4ace02af5e891f884f14dc25 (patch) | |
tree | 9a4bddeb87df32bda140e48eb60e03cd6cad2ef7 /src/ui/controls | |
parent | 419a09298abcba851313c2160cc00e24b48850fc (diff) | |
download | cru-522cdc4fdbf701fe4ace02af5e891f884f14dc25.tar.gz cru-522cdc4fdbf701fe4ace02af5e891f884f14dc25.tar.bz2 cru-522cdc4fdbf701fe4ace02af5e891f884f14dc25.zip |
...
Diffstat (limited to 'src/ui/controls')
-rw-r--r-- | src/ui/controls/TextHostControlService.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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. } } } |