Closed bertrey closed 6 years ago
Thanks for the info and the fix, a pull request is the right way to do it so we can add your changes in.
Here's what you need to do.
If you need additional help, jump on our Discord Server.
@bertrey PR was merged in, sorry for the delay. We currently don't have anyone maintaining MA3 as both @maxpiva and @rickdb are busy on other projects. If you'd like to continue helping out, send me a message on Discord.
Description
I've noticed several display problems with the star ratings on groups/series. I'm wasn't sure whether I should create separate issues or just one ... I went with one - I hope that's OK.
I have also attached patches for all these issues (separately) HERE. I developed these using the Branch_v3.7.1.0 branch (not the master branch), because that was the latest release for MyAnime3.
Missing rating image Most of the time the star rating image is not displayed. Only the rating value and the user vote image is displayed: It looks like the star rating image just wasn't updated.
Incorrect rating image color (I noticed this after fixing issue 1, but they aren't directly related) In some cases the stars have the wrong color: The problem was that these images are generated in code, and then cached per rating value. The same cache was used for both rating (blue stars) and vote (white stars). So if by coincidence the the same value occurs for a rating an a vote (even on different items), they will both use the same image from the cache (which means one of them will have the wrong color). This was fixed by using different image names for rating/vote images.
Scaling issue rating image On my media center the star rating isn't scaled correctly: Changing the windows 10 display scaling from 150% to 100% fixes the problem: Strangely enough I can't reproduce the problem on my laptop by setting the display scaling to 150%. But I found a way to fix this anyway (by modifying the way the image is generated) - and it works on both my mediacenter and my laptop.
Wrong case in rating text This is a very small issue ... but if I'm busy anyway ... In all 3 screenshots above the votes use a wrong case: it should be
123 votes
, not123 Votes
.Steps to reproduce
Resolution
As I said before, a patch for all these issues is attached HERE. I should probably have done this using a pull request ... but I wasn't sure how to do that :-)