Open Koomball opened 1 month ago
This is because the ScrollContainer doesn't want the events from the ScrollBars, so it doesn't have them propagated.
To get the gui events from the scrollbars you can use get_v_scroll_bar()
and get_h_scroll_bar()
and connect to their gui_input
signal.
Tested versions
System information
Godot v4.3.stable - Windows 10.0.19045 - GLES3 (Compatibility) - Intel(R) HD Graphics 620 (Intel Corporation; 31.0.101.2111) - Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 Threads)
Issue description
When using the signal
gui_signal()
hovering over the scrollbar part of it does not trigger the signal, im unsure if this is a bug but it feels like one as every other part of the container triggers the signal.Steps to reproduce
gui_input(event)
to the functionon_gui_input(_event)
false
Im unsure if this is a bug but running my cursor on anything else that i have linked to my function with
gui_input(event)
always triggers the function.Minimal reproduction project (MRP)
N/A