Store forced cursor position in VC_SETTINGS
This commit is contained in:
parent
e8345dce51
commit
ef22c2589d
|
@ -721,7 +721,6 @@ TOOL_MANAGER::ID_LIST::iterator TOOL_MANAGER::finishTool( TOOL_STATE* aState )
|
|||
if( tool->GetType() == INTERACTIVE )
|
||||
static_cast<TOOL_INTERACTIVE*>( tool )->resetTransitions();
|
||||
|
||||
m_viewControls->ForceCursorPosition( false );
|
||||
|
||||
return it;
|
||||
}
|
||||
|
|
|
@ -78,7 +78,5 @@ void VIEW_CONTROLS::ApplySettings( const VC_SETTINGS& aSettings )
|
|||
SetAutoPan( aSettings.m_autoPanEnabled );
|
||||
SetAutoPanMargin( aSettings.m_autoPanMargin );
|
||||
SetAutoPanSpeed( aSettings.m_autoPanSpeed );
|
||||
// storing 'force cursor position' causes more harm than advantage
|
||||
// let the tools control this setting
|
||||
//ForceCursorPosition( aSettings.m_forceCursorPosition, aSettings.m_forcedPosition );
|
||||
ForceCursorPosition( aSettings.m_forceCursorPosition, aSettings.m_forcedPosition );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue