Closed NALStudio closed 2 weeks ago
Fixed:
The reason this happened was that we didn't have any border radius and pygame originally handled the corners incorrectly (didn't take line width into account)
Pygame fixed its incorrect handling which made our inventory rendering to be incorrect.
We fix this by rounding the corners half width. We cannot pass in a float so we have to round the value. The results seem to look the same even though the value is rounded.
Original KDS Inventory:![image](https://github.com/KL-Corporation/Koponen-Dating-Simulator/assets/57502434/6f75a3e2-2bb4-4ac9-936f-fe7ccbb5044b)
After upgrade:![image](https://github.com/KL-Corporation/Koponen-Dating-Simulator/assets/57502434/2b0e65b4-f1ed-4305-aced-ef68f55265c7)