Fix search bar set selection

This commit is contained in:
小白-白 authored and tarsin committed 2022-12-31 16:47:02 +08:00
1 parent f680dc7e46
commit d5af66b3fc
1 file changed
+1 -1
@@ -274,7 +274,7 @@ abstract class SearchBarScene : ToolbarScene() {
temp = text.substring(0, text.lastIndexOf(" ")) + " " + temp
}
it.setText(temp)
it.setSelection(text.length)
it.setSelection(temp.length)
}
}
}