Loading pcbnew/tools/edit_tool.cpp +5 −0 Original line number Original line Diff line number Diff line Loading @@ -492,6 +492,11 @@ wxPoint EDIT_TOOL::getModificationPoint( const SELECTION_TOOL::SELECTION& aSelec } } else else { { // If EDIT_TOOL is not currently active then it means that the cursor position is not // updated, so we have to fetch the latest value if( m_toolMgr->GetCurrentToolId() != m_toolId ) m_cursor = getViewControls()->GetCursorPosition(); return wxPoint( m_cursor.x, m_cursor.y ); return wxPoint( m_cursor.x, m_cursor.y ); } } } } Loading Loading
pcbnew/tools/edit_tool.cpp +5 −0 Original line number Original line Diff line number Diff line Loading @@ -492,6 +492,11 @@ wxPoint EDIT_TOOL::getModificationPoint( const SELECTION_TOOL::SELECTION& aSelec } } else else { { // If EDIT_TOOL is not currently active then it means that the cursor position is not // updated, so we have to fetch the latest value if( m_toolMgr->GetCurrentToolId() != m_toolId ) m_cursor = getViewControls()->GetCursorPosition(); return wxPoint( m_cursor.x, m_cursor.y ); return wxPoint( m_cursor.x, m_cursor.y ); } } } } Loading