Commit 53da36c 1 parent 9814565 commit 53da36c Copy full SHA for 53da36c
File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -920,9 +920,15 @@ class ImGuiCommon
920
920
vfov = Config::Instance ()->FsrVerticalFov .value_or (60 .0f );
921
921
hfov = Config::Instance ()->FsrHorizontalFov .value_or (90 .0f );
922
922
923
+ if (useVFov && !Config::Instance ()->FsrVerticalFov .has_value ())
924
+ Config::Instance ()->FsrVerticalFov = vfov;
925
+ else if (!useVFov && !Config::Instance ()->FsrHorizontalFov .has_value ())
926
+ Config::Instance ()->FsrHorizontalFov = hfov;
927
+
923
928
if (ImGui::RadioButton (" Use Vert. Fov" , useVFov))
924
929
{
925
930
Config::Instance ()->FsrHorizontalFov .reset ();
931
+ Config::Instance ()->FsrVerticalFov = vfov;
926
932
useVFov = true ;
927
933
}
928
934
@@ -931,6 +937,7 @@ class ImGuiCommon
931
937
if (ImGui::RadioButton (" Use Horz. Fov" , !useVFov))
932
938
{
933
939
Config::Instance ()->FsrVerticalFov .reset ();
940
+ Config::Instance ()->FsrHorizontalFov = hfov;
934
941
useVFov = false ;
935
942
}
936
943
You can’t perform that action at this time.
0 commit comments