Add screen crop feature

This commit is contained in:
Adam Scott
2026-03-24 14:18:15 -04:00
parent 2b6667a98d
commit a5059cbca8
14 changed files with 310 additions and 56 deletions

View File

@@ -397,8 +397,14 @@ void HotkeyScheduler::Run()
}
}
if (IsHotkey(HK_TOGGLE_CROP))
Config::SetCurrent(Config::GFX_CROP, !Config::Get(Config::GFX_CROP));
if (IsHotkey(HK_TOGGLE_CROP_TO_ASPECT_RATIO))
{
Config::SetCurrent(Config::GFX_CROP_TO_ASPECT_RATIO,
!Config::Get(Config::GFX_CROP_TO_ASPECT_RATIO));
}
if (IsHotkey(HK_TOGGLE_CROP_CUSTOM))
Config::SetCurrent(Config::GFX_CROP_CUSTOM, !Config::Get(Config::GFX_CROP_CUSTOM));
if (IsHotkey(HK_TOGGLE_AR))
{