Skip to content

Commit

Permalink
Merge pull request #25 from klavssprugevics/develop
Browse files Browse the repository at this point in the history
Fixed the last map image not showing up on smaller resolutions.
  • Loading branch information
ksprugevics authored Dec 12, 2022
2 parents c7b1226 + 4f80cec commit dad72fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/client/vgui/rmv_mapvote_panel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ local function createMapThumbnails()
_thumbnailSlide[mapName] = (6 - k) * 0.05
mapVoteImage.Paint = function(self, _w, _h)
mapVoteImage:SetPos(THUMBNAIL_COORDS[mapName][1] + 3,
slideLerp(_thumbnailSlide[mapName], -200,THUMBNAIL_COORDS[mapName][2] + 3))
slideLerp(_thumbnailSlide[mapName], - ScrH() * 0.125,THUMBNAIL_COORDS[mapName][2] + 3))
_thumbnailSlide[mapName] = math.Clamp(0, 1, _thumbnailSlide[mapName] + 0.0025)
end

Expand Down

0 comments on commit dad72fc

Please sign in to comment.