Skip to content

Commit

Permalink
Merge pull request #7794 from kivy/perf_textinput
Browse files Browse the repository at this point in the history
Bring perf_test_textinput  inline with changes in TextInput
  • Loading branch information
matham committed Feb 9, 2022
2 parents 5d2e531 + 5b17a41 commit 2446352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kivy/tests/perf_test_textinput.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def stress_insert(self, *largs):
self.test_done = False
text_input = self.text_input
text_input.select_all()
text_input._copy(text_input.selection_text)
text_input.copy(text_input.selection_text)
text_input.cursor = text_input.get_cursor_from_index(
text_input.selection_to)
len_text = len(text_input._lines)
Expand All @@ -132,7 +132,7 @@ def pste(*l):
self.test_done = True
return
self.tot_time += l[0]
text_input._paste()
text_input.paste()
ev()
ev = Clock.create_trigger(pste)
ev()
Expand Down

0 comments on commit 2446352

Please sign in to comment.