Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Display cover art image with the correct size on multi-monitor setups #2915
When clicking on the cover art of the playing song, the image is enlarged and fills approximately half of the width and height of the monitor. This seems to be the intended behavior.
On multi-monitor setups, the image does not necessarily enlarge in the same way. I have multiple monitors with varying sizes and orientations, and the image always fills to the edge of the current monitor. The reason for this is that the dimensions of
A better way is to use the current monitor as a base when calculating the desired width and height of the image, which is what this commit does.
Leaving the patch here in case someone wants to have a say in this.