Skip to content

Commit

Permalink
Improved page panel spritesheet location
Browse files Browse the repository at this point in the history
  • Loading branch information
PringlesGang committed Dec 27, 2024
1 parent 2a0c637 commit 9335802
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions profiles/cclcc/hud/optionsmenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ for i = 0, 7 do
width = 224;
offset = ((i % 2 == 1) and {width * 4} or {0})[1];

-- Non-highlighted Text and Sound panels are poorly placed in the spritesheet, for some reason
if (i == 3 or i == 5) then
offset = offset - 1;
end

root.Sprites["OptionsPagePanel" .. i] = {
Sheet = "Config",
Bounds = {
Expand Down

0 comments on commit 9335802

Please sign in to comment.