Skip to content

Commit

Permalink
Allow GZ point dragging without having to right click
Browse files Browse the repository at this point in the history
  • Loading branch information
jongough committed Mar 12, 2017
1 parent 5bd66a1 commit 0ec00a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ SET(CPACK_PACKAGE_CONTACT "Jon Gough")

SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "30")
SET(VERSION_DATE "11/03/2017")
SET(VERSION_PATCH "31")
SET(VERSION_DATE "12/03/2017")

SET(BUNDLE_DATA FALSE)
IF( NOT CMAKE_BUILD_TYPE )
Expand Down
3 changes: 3 additions & 0 deletions src/ocpn_draw_pi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2157,6 +2157,9 @@ bool ocpn_draw_pi::MouseEventHook( wxMouseEvent &event )
m_pSelectedEBL->Resize( m_cursor_lat, m_cursor_lon, true );
else
m_pSelectedEBL->Resize();
} else if(m_pSelectedPath->m_sTypeString == wxT("Guard Zone")) {
m_pSelectedGZ = (GZ *)m_pSelectedPath;
m_pSelectedGZ->UpdateGZ( m_pFoundODPoint, false );
} else if(m_pSelectedPath->m_sTypeString == wxT("PIL")) {
m_pSelectedPIL = (PIL *)m_pSelectedPath;
m_pSelectedPIL->Resize();
Expand Down

0 comments on commit 0ec00a1

Please sign in to comment.