diff options
| author | Adam Scott <ascott.ca@gmail.com> | 2026-03-24 14:18:15 -0400 |
|---|---|---|
| committer | Adam Scott <ascott.ca@gmail.com> | 2026-04-18 13:08:41 -0400 |
| commit | a5059cbca81c31fbbfceb2180b82eb59b0fe2fcb (patch) | |
| tree | 4f326e1b85e1f35ff25250bc36fdc6cb7f9f2cc6 /Source/Core/DolphinQt/HotkeyScheduler.cpp | |
| parent | 2b6667a98db9d0d9b8b7f8ae6a2e82b9c84c3e53 (diff) | |
Add screen crop feature
Diffstat (limited to 'Source/Core/DolphinQt/HotkeyScheduler.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/HotkeyScheduler.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/Core/DolphinQt/HotkeyScheduler.cpp b/Source/Core/DolphinQt/HotkeyScheduler.cpp index e2722e9cfe..ae8003db3f 100644 --- a/Source/Core/DolphinQt/HotkeyScheduler.cpp +++ b/Source/Core/DolphinQt/HotkeyScheduler.cpp @@ -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)) { |
