Closed stephengtuggy closed 2 years ago
In modules/GUI.py
, replacing line 1659
self.firstVisible = max(0,min(len(self.items)-1-len(self._listitems)/2,self.firstVisible + lines))
with
self.firstVisible = max(0,min(len(self.items)-1-len(self._listitems)//2,self.firstVisible + lines))
solves the issue, evaluating to 202 instead of 201.5 for the last intro page.
@P-D-E Cool! Thanks for figuring that out
@P-D-E Can you submit that fix as a pull request?
You're welcome, PR right above.
PR merged. Now we just need the same fix applied to the 0.8.x branch, and we'll be good to go.
@stephengtuggy Can you backport it or should I issue a separate PR on 0.8.x?
@stephengtuggy Can you backport it or should I issue a separate PR on 0.8.x?
@P-D-E Please do.
@stephengtuggy Done, PR above.
Issue fixed for both 0.8.x and master. Closing.
The error appears to be coming from the Python asset code: