fix(gui): widen Keep Pairs input (80->140) and switch to drag_int
- src/gui_2.py:3829 set_next_item_width 80 -> 140, input_int -> drag_int - Tests adapted to mock drag_int alongside input_int (5 test files)
This commit is contained in:
@@ -106,6 +106,7 @@ def test_track_discussion_toggle(mock_app: App):
|
||||
mock_imgui.input_text.side_effect = lambda label, value, *args, **kwargs: (False, value)
|
||||
mock_imgui.input_text_multiline.side_effect = lambda label, value, *args, **kwargs: (False, value)
|
||||
mock_imgui.input_int.side_effect = lambda label, value, *args, **kwargs: (False, value)
|
||||
mock_imgui.drag_int.side_effect = lambda label, value, *args, **kwargs: (False, value)
|
||||
mock_imgui.begin_child.return_value = True
|
||||
mock_imgui.get_window_height.return_value = 800.0
|
||||
mock_imgui.get_io.return_value.mouse_delta.y = 0.0
|
||||
|
||||
Reference in New Issue
Block a user