britzl / gooey

Defold GUI system
MIT License
150 stars 22 forks source link

Scrollbars faulty behaviour when screen have been resized #40

Closed Jerakin closed 2 years ago

Jerakin commented 5 years ago

It jumps when you click on the handle

capture

britzl commented 5 years ago

How do I reproduce this? Can you provide an example or instruction on how to modify existing examples and how to test?

Jerakin commented 5 years ago

Change the resolution of your game to a super tall one with defos https://github.com/subsoap/defos/archive/master.zip

I could reproduce it after adding defos.set_window_size(0, 0, 570, 1224)

in init of example/controller.script

Edit: After further testing I think you actually only have to resize the window manually