The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: RESTRICTED ACCOUNT on June 14, 2021, 11:17:47 AM

Title: Fixed an issue where scrollbar parts move to negative y coordinate
Post by: RESTRICTED ACCOUNT on June 14, 2021, 11:17:47 AM
The vertical parts of the scrollbar can be moved to negative coordinates, creating a strange look and at the same time losing functionality.
I don't know if this happens in standard, but it's an issue that happens in extended.

Buttons that trespass into negative coordinates cannot be pressed. Therefore, there is no reason to allow the trespass.
(https://i.imgur.com/PIqQH3m.gif)


The patch will fix it as follows
(https://i.imgur.com/o8e289O.gif)


I haven't checked if the same problem occurs in the horizontal direction. (´・ω・`)
Title: Re: Fixed an issue where scrollbar parts move to negative y coordinate
Post by: prissi on July 27, 2021, 12:49:04 PM
Thanks, incorporated in r9973