Use type Vector2i for get_cursor_pos()

Cursor position is always integer.
This commit is contained in:
Leroy Hopson 2024-02-18 13:52:48 +13:00
parent 0ccc539f36
commit dc97c56b17
No known key found for this signature in database
GPG key ID: D2747312A6DB51AA
3 changed files with 5 additions and 5 deletions

View file

@ -56,7 +56,7 @@ namespace godot
void set_rows(const int p_rows);
int get_rows() const;
Vector2 get_cursor_pos() const;
Vector2i get_cursor_pos() const;
void set_max_scrollback(const int p_max_scrollback);
int get_max_scrollback() const;