Skip to content

Commit

Permalink
fix velocity factor for menu
Browse files Browse the repository at this point in the history
  • Loading branch information
cdozdil committed Oct 2, 2024
1 parent 046f643 commit 40031b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OptiScaler/imgui/imgui_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ void ImGuiCommon::RenderMenu()

if (cf->Version().patch > 0)
{
float velocity = Config::Instance()->FsrVelocity.value_or(0.3);
float velocity = Config::Instance()->FsrVelocity.value_or(1.0);
if (ImGui::SliderFloat("Velocity Factor", &velocity, 0.00f, 1.0f, "%.2f", ImGuiSliderFlags_NoRoundToFormat))
Config::Instance()->FsrVelocity = velocity;

Expand Down
4 changes: 2 additions & 2 deletions OptiScaler/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
#define VER_MAJOR_VERSION 0
#define VER_MINOR_VERSION 6
#define VER_HOTFIX_VERSION 7
#define VER_BUILD_NUMBER 14
#define VER_BUILD_NUMBER 15

#define VER_PRE_RELEASE
//#define VER_PRE_RELEASE

#define VER_FILE_VERSION VER_MAJOR_VERSION, VER_MINOR_VERSION, VER_HOTFIX_VERSION, VER_BUILD_NUMBER
#define VER_FILE_VERSION_STR STRINGIZE(VER_MAJOR_VERSION) "." STRINGIZE(VER_MINOR_VERSION) "." STRINGIZE(VER_HOTFIX_VERSION) "." STRINGIZE(VER_BUILD_NUMBER)
Expand Down

0 comments on commit 40031b3

Please sign in to comment.