Bezier/line: add delete last point to context menu

These tools support this action, so add to the menu to make it
more discoverable that the actions exist.
This commit is contained in:
John Beard 2024-11-28 04:06:37 +08:00
parent f15c5ccfdc
commit 6bd69a3f77

View File

@ -214,7 +214,9 @@ bool DRAWING_TOOL::Init()
return ( m_mode == MODE::ARC
|| m_mode == MODE::ZONE
|| m_mode == MODE::KEEPOUT
|| m_mode == MODE::GRAPHIC_POLYGON );
|| m_mode == MODE::GRAPHIC_POLYGON
|| m_mode == MODE::BEZIER
|| m_mode == MODE::LINE );
};
// functor for tools that can automatically close the outline