minetest-mapserver / mapserver

Minetest realtime mapserver, written in go
Other
101 stars 22 forks source link

Prevent POI image from vertically overflowing too much #395

Closed Emojigit closed 4 months ago

Emojigit commented 4 months ago

This PR fixes an issue in #389. Previously, POI owners could set a tall image that overflows the screen. The modified code limits the height to 75% of the viewpoint height and allows scrolling down to see the remaining parts.

This PR is ready for review.

圖片

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 9720012796

Details


Totals Coverage Status
Change from base Build 9715232799: 0.0%
Covered Lines: 968
Relevant Lines: 3477

💛 - Coveralls