Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ window/size/viewport_height=720
window/size/mode=4
window/stretch/mode="canvas_items"
window/stretch/aspect="expand"
mouse_cursor/custom_image="uid://cee2juvnxco6c"
mouse_cursor/tooltip_position_offset=Vector2(19, 29)
window/size/mode.editor=0
window/size/mode.web=0
Expand Down
2 changes: 2 additions & 0 deletions scenes/globals/mouse_manager/mouse_manager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
# SPDX-License-Identifier: MPL-2.0
extends Node

const MOUSE_CURSOR_DEFAULT = preload("uid://cee2juvnxco6c")
const MOUSE_CURSOR_CROSS = preload("uid://bx11wyx7unc4q")

@onready var hide_timer: Timer = %HideTimer


func _ready() -> void:
Input.set_custom_mouse_cursor(MOUSE_CURSOR_DEFAULT, Input.CURSOR_ARROW, Vector2(0, 0))
Input.set_custom_mouse_cursor(MOUSE_CURSOR_CROSS, Input.CURSOR_CROSS, Vector2(32, 32))


Expand Down