You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Add implementation for custom hardware cursor
This commit is contained in:
committed by
Guilherme Felipe
parent
fa8a1fc420
commit
a392dbdbe3
@@ -1105,7 +1105,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
|
||||
if (cursor.is_valid()) {
|
||||
//print_line("loaded ok");
|
||||
Vector2 hotspot = ProjectSettings::get_singleton()->get("display/mouse_cursor/custom_image_hotspot");
|
||||
Input::get_singleton()->set_custom_mouse_cursor(cursor, hotspot);
|
||||
Input::get_singleton()->set_custom_mouse_cursor(cursor, Input::CURSOR_ARROW, hotspot);
|
||||
}
|
||||
}
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user