Commit d9ea63a8 authored by faa's avatar faa

pcbnew: minor bug cursor move/drag module

parent 54a541f2
......@@ -99,8 +99,6 @@ void WinEDA_PcbFrame::StartMove_Module( MODULE* module, wxDC* DC )
/**********************************************************************/
{
wxPoint Mouse;
if( module == NULL )
return;
......@@ -111,9 +109,7 @@ void WinEDA_PcbFrame::StartMove_Module( MODULE* module, wxDC* DC )
ModuleInitLayer = module->GetLayer();
GetScreen()->m_Curseur = module->m_Pos;
Mouse.x = wxRound( module->m_Pos.x );
Mouse.y = wxRound( module->m_Pos.y );
DrawPanel->MouseTo( Mouse );
DrawPanel->MouseToCursorSchema();
/* Effacement chevelu general si necessaire */
if( g_Show_Ratsnest )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment