diff options
author | crupest <crupest@outlook.com> | 2019-03-21 21:42:28 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-03-21 21:42:28 +0800 |
commit | fdbb02b2cbdd4e4069005d0535a343229f7c4d32 (patch) | |
tree | 3cc25c18b3b019f09d6478b8b9f7b4ddbaed9eb6 /src/ui/events/ui_event.cpp | |
parent | 616ebd78b543876388cb3d64f108abea041d4983 (diff) | |
download | cru-fdbb02b2cbdd4e4069005d0535a343229f7c4d32.tar.gz cru-fdbb02b2cbdd4e4069005d0535a343229f7c4d32.tar.bz2 cru-fdbb02b2cbdd4e4069005d0535a343229f7c4d32.zip |
...
Diffstat (limited to 'src/ui/events/ui_event.cpp')
-rw-r--r-- | src/ui/events/ui_event.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/ui/events/ui_event.cpp b/src/ui/events/ui_event.cpp index a1fc3d82..ee3a68dc 100644 --- a/src/ui/events/ui_event.cpp +++ b/src/ui/events/ui_event.cpp @@ -4,10 +4,4 @@ namespace cru::ui::events { - Point MouseEventArgs::GetPoint(Control* control, const RectRange range) const - { - if (point_.has_value()) - return control->TransformPoint(control->WindowToControl(point_.value()), RectRange::Margin, range); - return Point(); - } } |