mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Suppress unneeded move corner context
Doesn't really make sense in terms of a group Fixes https://gitlab.com/kicad/code/kicad/-/issues/21552
This commit is contained in:
parent
7841476ed6
commit
5b86f20476
@ -66,6 +66,7 @@ public:
|
||||
bool HasPoint() { return m_editedPoint != nullptr; }
|
||||
bool HasMidpoint() { return HasPoint() && dynamic_cast<EDIT_LINE*>( m_editedPoint ); }
|
||||
bool HasCorner() { return HasPoint() && !HasMidpoint(); }
|
||||
bool HasCorner() { return HasPoint() && !HasMidpoint() && ( !m_editPoints || m_editPoints->GetParent()->Type() != PCB_GROUP_T ); }
|
||||
|
||||
private:
|
||||
///< Set up handlers for various events.
|
||||
|
Loading…
x
Reference in New Issue
Block a user