[commit] r2381 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Thu Oct 3 11:16:51 CDT 2013
Author: ksmyth
Date: Thu Oct 3 11:16:50 2013
New Revision: 2381
Log:
Fix ModelEditor PopUp coords
Modified:
trunk/GME/Gme/GMEView.cpp
Modified: trunk/GME/Gme/GMEView.cpp
==============================================================================
--- trunk/GME/Gme/GMEView.cpp Thu Oct 3 11:16:02 2013 (r2380)
+++ trunk/GME/Gme/GMEView.cpp Thu Oct 3 11:16:50 2013 (r2381)
@@ -5931,7 +5931,7 @@
DROPEFFECT dropEffect = CGMEDoc::DoDragDrop(&selected, &selectedAnnotations, &desc,
DROPEFFECT_MOVE | DROPEFFECT_COPY | DROPEFFECT_LINK, &rectAwake,this);
if (validGuiObjects && dropEffect == DROPEFFECT_NONE) {
- OnRButtonUp(nFlags,point);
+ OnRButtonUp(nFlags, trackPoint);
}
inDrag = false;
}
@@ -6494,9 +6494,10 @@
CPoint orig = point;
CPoint testPoint = point;
- CoordinateTransfer(point);
CPoint screen = point;
ClientToScreen(&screen);
+
+ CoordinateTransfer(point);
CoordinateTransfer(testPoint);
point.x = (long)(point.x - dragOffset.x);
More information about the gme-commit
mailing list