diff options
| author | Sophia Pearson <codergal89@gmail.com> | 2022-10-03 22:22:50 +0200 |
|---|---|---|
| committer | Sophia Pearson <codergal89@gmail.com> | 2022-10-04 22:18:18 +0200 |
| commit | e127ad39e742396030352240d829bc903b1d4464 (patch) | |
| tree | 10cc21d70bf13181aef7c8ad0344077ff63579a3 /Tests/ui_helpers.gd | |
| parent | ddbb045f6387a8ba23b1210b27a745516a387a52 (diff) | |
| download | texty-e127ad39e742396030352240d829bc903b1d4464.tar.xz texty-e127ad39e742396030352240d829bc903b1d4464.zip | |
godot: inital Godot 4 migration
Diffstat (limited to 'Tests/ui_helpers.gd')
| -rw-r--r-- | Tests/ui_helpers.gd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/ui_helpers.gd b/Tests/ui_helpers.gd index 96806b6..ecb1553 100644 --- a/Tests/ui_helpers.gd +++ b/Tests/ui_helpers.gd @@ -6,11 +6,11 @@ static func click_control(sender, control: Control): var rect = control.get_global_rect() var center = (rect.end - rect.size / 2) sender.mouse_left_button_down(center, center) \ - .hold_for('1f') \ - .wait('1f') + super.hold_for('1f') \ + super.wait('1f') return sender static func press_key(sender, key): sender.key_down(key) \ - .hold_for('1f') + super.hold_for('1f') return sender |
