Added hotkey for toggling the crop setting
This commit is contained in:
parent
a898aa1585
commit
cc8aeec58c
|
@ -46,6 +46,7 @@ const std::string hotkey_labels[] =
|
|||
_trans("Increase IR"),
|
||||
_trans("Decrease IR"),
|
||||
|
||||
_trans("Toggle Crop"),
|
||||
_trans("Toggle Aspect Ratio"),
|
||||
_trans("Toggle EFB Copies"),
|
||||
_trans("Toggle Fog"),
|
||||
|
|
|
@ -44,6 +44,7 @@ enum Hotkey
|
|||
HK_INCREASE_IR,
|
||||
HK_DECREASE_IR,
|
||||
|
||||
HK_TOGGLE_CROP,
|
||||
HK_TOGGLE_AR,
|
||||
HK_TOGGLE_EFBCOPIES,
|
||||
HK_TOGGLE_FOG,
|
||||
|
|
|
@ -1383,6 +1383,10 @@ void CFrame::ParseHotkeys()
|
|||
if (--g_Config.iEFBScale < SCALE_AUTO)
|
||||
g_Config.iEFBScale = SCALE_AUTO;
|
||||
}
|
||||
if (IsHotkey(HK_TOGGLE_CROP))
|
||||
{
|
||||
g_Config.bCrop = !g_Config.bCrop;
|
||||
}
|
||||
if (IsHotkey(HK_TOGGLE_AR))
|
||||
{
|
||||
OSDChoice = 2;
|
||||
|
|
Loading…
Reference in New Issue