mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-06-25 21:34:43 -04:00
Changed default cursor shape for the rulers, because they were in the wrong direction
This commit is contained in:
parent
9f1779893d
commit
1ee38494e3
2 changed files with 4 additions and 5 deletions
|
@ -14,9 +14,9 @@ func _process(delta : float) -> void:
|
|||
update()
|
||||
var mouse_pos := get_local_mouse_position()
|
||||
if mouse_pos.x < RULER_WIDTH: #For double guides
|
||||
mouse_default_cursor_shape = Control.CURSOR_BDIAGSIZE
|
||||
mouse_default_cursor_shape = Control.CURSOR_FDIAGSIZE
|
||||
else:
|
||||
mouse_default_cursor_shape = Control.CURSOR_HSPLIT
|
||||
mouse_default_cursor_shape = Control.CURSOR_VSPLIT
|
||||
|
||||
#Code taken and modified from Godot's source code
|
||||
func _draw() -> void:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue