Skip to content

Commit

Permalink
Adjust Floating UI offset for Theater Screen overlays to account for …
Browse files Browse the repository at this point in the history
…SteamVR button size change
  • Loading branch information
elvissteinjr committed Oct 31, 2024
1 parent 4f1b6ba commit 68c9400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DesktopPlusUI/FloatingUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ void FloatingUI::UpdateUITargetState()
m_TheaterOffsetAnimationProgress = 0.0f;
}

matrix.translate_relative(0.0f, smoothstep(m_TheaterOffsetAnimationProgress, 0.0f, -0.19f), 0.0f);
matrix.translate_relative(0.0f, smoothstep(m_TheaterOffsetAnimationProgress, 0.0f, -0.29f), 0.0f);
}

//Don't update position if dummy transform is unstable unless it's target is not primary dashboard overlay or we're newly appearing
Expand Down

0 comments on commit 68c9400

Please sign in to comment.