Change sort_custom/bsearch_custom to use Callables
This commit is contained in:
parent
5f8f049ddb
commit
fb83d905da
5 changed files with 21 additions and 28 deletions
|
|
@ -2173,7 +2173,7 @@ Array TileSetEditor::_get_tiles_in_current_texture(bool sorted) {
|
|||
}
|
||||
}
|
||||
if (sorted) {
|
||||
a.sort_custom(this, "_sort_tiles");
|
||||
a.sort_custom(callable_mp(this, &TileSetEditor::_sort_tiles));
|
||||
}
|
||||
return a;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue