Removes 3 other instances of a potential encoding problem
Signed-off-by: hoijui <hoijui.quaero@gmail.com>
This commit is contained in:
parent
e34b829242
commit
6ca9a42251
|
@ -396,7 +396,7 @@ const VECTOR2D GetArcCenter( const VECTOR2D& aStart, const VECTOR2D& aMid, const
|
||||||
{
|
{
|
||||||
if( aStart == aEnd )
|
if( aStart == aEnd )
|
||||||
{
|
{
|
||||||
// This is a special case for a 360° arc. In this case, the center is halfway between
|
// This is a special case for a 360 degrees arc. In this case, the center is halfway between
|
||||||
// the midpoint and either end point
|
// the midpoint and either end point
|
||||||
center.x = ( aStart.x + aMid.x ) / 2.0;
|
center.x = ( aStart.x + aMid.x ) / 2.0;
|
||||||
center.y = ( aStart.y + aMid.y ) / 2.0 ;
|
center.y = ( aStart.y + aMid.y ) / 2.0 ;
|
||||||
|
|
|
@ -141,7 +141,7 @@ private:
|
||||||
///< Contains the list of items that are currently modified by the dragger
|
///< Contains the list of items that are currently modified by the dragger
|
||||||
ITEM_SET m_draggedItems;
|
ITEM_SET m_draggedItems;
|
||||||
|
|
||||||
///< If true, moves the connection lines without maintaining 45° corners
|
///< If true, moves the connection lines without maintaining 45 degrees corners
|
||||||
bool m_freeAngleMode;
|
bool m_freeAngleMode;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -502,7 +502,7 @@ int POINT_EDITOR::OnSelectionChange( const TOOL_EVENT& aEvent )
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// The alternative constraint limits to 45°
|
// The alternative constraint limits to 45 degrees
|
||||||
bool enableAltConstraint = !!evt->Modifier( MD_CTRL );
|
bool enableAltConstraint = !!evt->Modifier( MD_CTRL );
|
||||||
|
|
||||||
if( enableAltConstraint )
|
if( enableAltConstraint )
|
||||||
|
|
Loading…
Reference in New Issue