Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nbeerten committed Sep 29, 2023
1 parent 7ddd448 commit 39b6160
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
name = "Refresh Leaderboard"
author = "nbeerten"
category = "Utilities"
version = "1.2.7"
version = "1.3.0"
siteid = 229

[script]
optional_dependencies = ["UltrawideUIFix"]

optional_dependencies = ["UltrawideUIFix"]
1 change: 1 addition & 0 deletions src/Main.as
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ void Update(float dt) {

#if DEPENDENCY_ULTRAWIDEUIFIX
// We have a shift value from UltrawideUIFix, convert it to a fraction of a 16/9 display width and subtract it from the default position
// PR by @dpeukert: https://github.com/nbeerten/tm-refresh-leaderboard/pull/6
ButtonPosX = ((0.028125 - (UltrawideUIFix::GetUiShift() / 320)) * IdealWidth + ScreenHeight * AspectDiff) / ScreenWidth;
#else
ButtonPosX = (0.028125 * IdealWidth + ScreenHeight * AspectDiff) / ScreenWidth;
Expand Down

0 comments on commit 39b6160

Please sign in to comment.