Skip to content

Commit

Permalink
[#3] Fix temperature misalignment for widesceen resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
Peppie84 committed Jan 10, 2025
1 parent 9326bc4 commit c67b809
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]
- Added `l10n_uk.xml` by Gonimy-Vetrom
- Fixed temperature misalignment for widesceen resolutions for [#3](https://github.com/Peppie84/FS25_ExtendedGameInfoDisplay/issues/3)

## [v1.0.0.0] - 2025-01-09
- Ported from LS22 to LS25
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function ExtendedGameInfoDisplay:gameinfodisplay__draw(overwrittenFunc)
end

function ExtendedGameInfoDisplay:setTemperaturePosition(gameInfoDisplay)
local referencePositionX = gameInfoDisplay.calendarIcon.x - gameInfoDisplay:scalePixelToScreenHeight(65)
local referencePositionX = gameInfoDisplay.calendarIcon.x - gameInfoDisplay:scalePixelToScreenWidth(120)
gameInfoDisplay.temperature.x = referencePositionX
gameInfoDisplay.temperatureUp.x = referencePositionX
gameInfoDisplay.temperatureDown.x = referencePositionX
Expand Down

0 comments on commit c67b809

Please sign in to comment.