mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
size() <= 0 and size() < 1.
This commit is contained in:
parent
4f4031a675
commit
7a1a970c25
12 changed files with 16 additions and 16 deletions
|
@ -1730,7 +1730,7 @@ void CodeTextEditor::toggle_bookmark() {
|
|||
|
||||
void CodeTextEditor::goto_next_bookmark() {
|
||||
PackedInt32Array bmarks = text_editor->get_bookmarked_lines();
|
||||
if (bmarks.size() <= 0) {
|
||||
if (bmarks.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -1746,7 +1746,7 @@ void CodeTextEditor::goto_next_bookmark() {
|
|||
|
||||
void CodeTextEditor::goto_prev_bookmark() {
|
||||
PackedInt32Array bmarks = text_editor->get_bookmarked_lines();
|
||||
if (bmarks.size() <= 0) {
|
||||
if (bmarks.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue