Skip to content

Commit

Permalink
changed uvs
Browse files Browse the repository at this point in the history
  • Loading branch information
schwiti6190 committed Apr 3, 2022
1 parent dd4b245 commit e250ec0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/gui/hud/CpBaseHud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ CpBaseHud.uvs = {
{512, 512, 128, 128}
},
pasteSymbol = {
{256, 640, 128, 128}
{255, 639, 128, 128}
},
copySymbol = {
{128, 640, 128, 128}
{127, 637, 128, 128}
},
exitSymbol = {
{148, 184, 32, 32}
Expand Down Expand Up @@ -364,7 +364,7 @@ function CpBaseHud:addCopyCourseBtn(line)
local rightX, rightY = unpack(self.lines[line].right)
local btnYOffset = self.hMargin*0.2

local width, height = getNormalizedScreenValues(20, 20)
local width, height = getNormalizedScreenValues(22, 22)

local copyOverlay = Overlay.new(imageFilename, 0, 0, width, height)
copyOverlay:setUVs(GuiUtils.getUVs(unpack(self.uvs.copySymbol)))
Expand Down

0 comments on commit e250ec0

Please sign in to comment.