mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
parent
7f560a2833
commit
6f6c8b114b
2 changed files with 5 additions and 0 deletions
|
|
@ -454,6 +454,10 @@ void OS_JavaScript::set_cursor_shape(CursorShape p_shape) {
|
|||
godot_js_display_cursor_set_shape(godot2dom_cursor(cursor_shape));
|
||||
}
|
||||
|
||||
OS::CursorShape OS_JavaScript::get_cursor_shape() const {
|
||||
return cursor_shape;
|
||||
}
|
||||
|
||||
void OS_JavaScript::set_custom_mouse_cursor(const RES &p_cursor, CursorShape p_shape, const Vector2 &p_hotspot) {
|
||||
if (p_cursor.is_valid()) {
|
||||
Ref<Texture> texture = p_cursor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue