Fix missing zoom-to-selection hotkey branch in pl_editor
This commit is contained in:
parent
8c81e53c03
commit
92e3c4a45c
|
@ -213,6 +213,11 @@ bool PL_EDITOR_FRAME::OnHotKey( wxDC* aDC, int aHotkeyCode,
|
||||||
GetEventHandler()->ProcessEvent( cmd );
|
GetEventHandler()->ProcessEvent( cmd );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case HK_ZOOM_SELECTION:
|
||||||
|
cmd.SetId( ID_ZOOM_SELECTION );
|
||||||
|
GetEventHandler()->ProcessEvent( cmd );
|
||||||
|
break;
|
||||||
|
|
||||||
case HK_RESET_LOCAL_COORD: // Reset the relative coord
|
case HK_RESET_LOCAL_COORD: // Reset the relative coord
|
||||||
GetScreen()->m_O_Curseur = GetCrossHairPosition();
|
GetScreen()->m_O_Curseur = GetCrossHairPosition();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue