Formatting.

This commit is contained in:
Jeff Young
2024-12-27 18:59:22 +00:00
parent 5ff21f9c2d
commit bcf810b05c
+6 -3
View File
@@ -2588,7 +2588,8 @@ int SCH_DRAWING_TOOLS::DrawRuleArea( const TOOL_EVENT& aEvent )
}
else if( started
&& ( evt->IsAction( &EE_ACTIONS::deleteLastPoint )
|| evt->IsAction( &ACTIONS::doDelete ) || evt->IsAction( &ACTIONS::undo ) ) )
|| evt->IsAction( &ACTIONS::doDelete )
|| evt->IsAction( &ACTIONS::undo ) ) )
{
if( std::optional<VECTOR2I> last = polyGeomMgr.DeleteLastCorner() )
{
@@ -2679,8 +2680,10 @@ int SCH_DRAWING_TOOLS::DrawTable( const TOOL_EVENT& aEvent )
controls->ForceCursorPosition( true, cursorPos );
// The tool hotkey is interpreted as a click when drawing
bool isSyntheticClick = table && evt->IsActivate() && evt->HasPosition()
&& evt->Matches( aEvent );
bool isSyntheticClick = table
&& evt->IsActivate()
&& evt->HasPosition()
&& evt->Matches( aEvent );
if( evt->IsCancelInteractive() || ( table && evt->IsAction( &ACTIONS::undo ) ) )
{