[dasher] Fix StylusFilter clicking
- From: Patrick Welche <pwelche src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dasher] Fix StylusFilter clicking
- Date: Tue, 22 Mar 2011 21:23:23 +0000 (UTC)
commit ecd7451b20d06ac4ef7b41131cd7cde10d041065
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date: Tue Mar 22 10:06:47 2011 +0000
Fix StylusFilter clicking
Src/DasherCore/StylusFilter.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Src/DasherCore/StylusFilter.cpp b/Src/DasherCore/StylusFilter.cpp
index fa30031..b401cb3 100644
--- a/Src/DasherCore/StylusFilter.cpp
+++ b/Src/DasherCore/StylusFilter.cpp
@@ -35,7 +35,7 @@ void CStylusFilter::KeyUp(int iTime, int iId, CDasherView *pView, CDasherInput *
if (iTime - m_iKeyDownTime < GetLongParameter(LP_TAP_TIME)) {
pInput->GetDasherCoords(m_iLastX, m_iLastY, pView);
ApplyClickTransform(m_iLastX, m_iLastY, pView);
- pModel->ScheduleZoom(iTime, m_iLastX, m_iLastY);
+ pModel->ScheduleZoom(iTime, m_iLastY-m_iLastX, m_iLastY+m_iLastX);
} else {
m_pInterface->Stop();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]