[Uml-devel] [Bug 122293] drag 'n drop a class when the zoom is not 1:1 don't put the class under mouse cursor

Yan Morin yansanmo at iquebec.com
Sun Feb 19 13:02:05 UTC 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=122293         




------- Additional Comments From yansanmo iquebec com  2006-02-19 18:30 -------
Index: umlview.cpp
===================================================================
--- umlview.cpp (revision 511314)
+++ umlview.cpp (working copy)
 @ -697,7 +697,7  @
         return;
     }
     m_bCreateObject = true;
-    m_Pos = e->pos();
+    m_Pos = (e->pos() * 100 ) / m_nZoom;

     slotObjectCreated(o);




More information about the umbrello-devel mailing list