GRID_HELPER: Measurement snapping points
Measurements should snap to the points that are used for controlling the measurement.
This commit is contained in:
parent
f2a49c6bd6
commit
776d12c529
|
@ -428,8 +428,8 @@ void GRID_HELPER::computeAnchors( BOARD_ITEM* aItem, const VECTOR2I& aRefPos )
|
||||||
case PCB_DIMENSION_T:
|
case PCB_DIMENSION_T:
|
||||||
{
|
{
|
||||||
const DIMENSION* dim = static_cast<const DIMENSION*>( aItem );
|
const DIMENSION* dim = static_cast<const DIMENSION*>( aItem );
|
||||||
addAnchor( dim->m_featureLineGF, CORNER | SNAPPABLE, aItem );
|
addAnchor( dim->m_crossBarF, CORNER | SNAPPABLE, aItem );
|
||||||
addAnchor( dim->m_featureLineDF, CORNER | SNAPPABLE, aItem );
|
addAnchor( dim->m_crossBarO, CORNER | SNAPPABLE, aItem );
|
||||||
addAnchor( dim->m_featureLineGO, CORNER | SNAPPABLE, aItem );
|
addAnchor( dim->m_featureLineGO, CORNER | SNAPPABLE, aItem );
|
||||||
addAnchor( dim->m_featureLineDO, CORNER | SNAPPABLE, aItem );
|
addAnchor( dim->m_featureLineDO, CORNER | SNAPPABLE, aItem );
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue