Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
6.01.00171:Bugfix HUD
Browse files Browse the repository at this point in the history
fixes #3563
  • Loading branch information
ThomasGaertner committed Apr 9, 2019
1 parent 7086fd0 commit c6ab1ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hud.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1974,9 +1974,9 @@ function courseplay.hud:setupCoursePageButtons(vehicle,page)
h = self.lineHeight
}
local courseListMouseWheelArea = {
x = self.contentMinX+wSmall,
x = self.contentMinX+wSmall*2,
y = self.linesPosY[self.numLines],
width = self.buttonCoursesPosX[4] - self.contentMinX-wSmall,
width = self.buttonCoursesPosX[4] - self.contentMinX-wSmall*2,
height = self.linesPosY[1] + self.lineHeight - self.linesPosY[self.numLines]
};
vehicle.cp.hud.courseListMouseArea= courseplay.button:new(vehicle, 'global', nil, 'shiftHudCourses', -1, courseListMouseWheelArea.x, courseListMouseWheelArea.y, courseListMouseWheelArea.width, courseListMouseWheelArea.height, nil, -self.numLines, true, true);
Expand Down
2 changes: 1 addition & 1 deletion modDesc.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="40">
<version>6.01.00170</version>
<version>6.01.00171</version>
<author><![CDATA[Courseplay.devTeam]]></author>
<title>
<br>CoursePlay SIX</br>
Expand Down

0 comments on commit c6ab1ed

Please sign in to comment.