diff options
author | crupest <crupest@outlook.com> | 2018-11-06 19:26:59 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2018-11-06 19:26:59 +0800 |
commit | 0152bebd76399b7f32260533c93b3e0dc20becf1 (patch) | |
tree | 8b2c433ade5cb0120160021ca8eaf3d9fb7ff5ce /src/ui/events | |
parent | 1c5b696b487f621aebaafddf25a010c4cdbbd666 (diff) | |
download | cru-0152bebd76399b7f32260533c93b3e0dc20becf1.tar.gz cru-0152bebd76399b7f32260533c93b3e0dc20becf1.tar.bz2 cru-0152bebd76399b7f32260533c93b3e0dc20becf1.zip |
Rename two methods in control.
Diffstat (limited to 'src/ui/events')
-rw-r--r-- | src/ui/events/ui_event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/events/ui_event.cpp b/src/ui/events/ui_event.cpp index 34339ff4..5e9ca452 100644 --- a/src/ui/events/ui_event.cpp +++ b/src/ui/events/ui_event.cpp @@ -11,7 +11,7 @@ namespace cru Point MouseEventArgs::GetPoint(Control* control, const RectRange range) const { if (point_.has_value()) - return control->TransformPoint(control->AbsoluteToLocal(point_.value()), RectRange::Margin, range); + return control->TransformPoint(control->WindowToControl(point_.value()), RectRange::Margin, range); return Point(); } } |