Godot Version
4.6.2 stable
Question
so i’m building this musical tracker and i decided to set its UX paradigm when setting values by dragging the mouse into the Y or X axis (Y axis smaller values and X bigger increments/decrements). however i decided to make a stress test yesterday and after many notes added and many instruments, the input starts to slow down… the moment i click a field to edit, i set mouse to capture mode then i start the drag and each time there’s calculation, i modify only the selected label, nothing else! the weird part is if i set the value change by a keyboard key or even the mouse wheel, it just works with no lag at all
since i’m creating many labels, a Google search threw me that labels receiving input are the culprit, so i when i instantiate them (when creating an instrument), i’m disabling any type of input with
label.mouse_filter = Control.MOUSE_FILTER_IGNORE
label.focus_mode = Control.FOCUS_NONE
label.focus_behavior_recursive = Control.FOCUS_BEHAVIOR_DISABLED
label.mouse_filter = Control.MOUSE_FILTER_IGNORE
label.mouse_behavior_recursive = Control.MOUSE_BEHAVIOR_DISABLED
it doesn’t change anything… any other idea i can try out? usually the last instrument is the one which has the least amount of lag on the InputEvent
(each - - - - is a label inside a column that has a VBox and a HBox inside… no lag at all if i set these values by other means than the mouse drag)
