mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Fix negative search result match
This commit is contained in:
parent
42537daeb1
commit
48b8bfbbcf
@ -332,7 +332,7 @@ void FindReplaceBar::_update_results_count() {
|
||||
|
||||
if (results_count_to_current > results_count) {
|
||||
results_count_to_current = results_count_to_current - results_count;
|
||||
} else if (results_count_to_current == 0) {
|
||||
} else if (results_count_to_current <= 0) {
|
||||
results_count_to_current = results_count;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user