diff options
author | kobewi <kobewi4e@gmail.com> | 2021-10-06 13:13:42 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2021-10-06 13:13:42 +0200 |
commit | 92a53f9bd6a13e98f0b8e4d341d53ffd7355d1d0 (patch) | |
tree | 63136e7ca720f066f4bd6afda40d0371b1af7dbb | |
parent | 36de097577811eb39d1a8d31d10d538ad70675d9 (diff) |
Change dragging cursor on Windows
-rw-r--r-- | doc/classes/Input.xml | 1 | ||||
-rw-r--r-- | platform/windows/display_server_windows.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index ebbcd2b894..dd3f7266bd 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -386,6 +386,7 @@ </constant> <constant name="CURSOR_DRAG" value="6" enum="CursorShape"> Drag cursor. Usually displayed when dragging something. + [b]Note:[/b] Windows lacks a dragging cursor, so [constant CURSOR_DRAG] is the same as [constant CURSOR_MOVE] for this platform. </constant> <constant name="CURSOR_CAN_DROP" value="7" enum="CursorShape"> Can drop cursor. Usually displayed when dragging something to indicate that it can be dropped at the current position. diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 8a946d8136..905c4142a8 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -1208,7 +1208,7 @@ void DisplayServerWindows::cursor_set_shape(CursorShape p_shape) { IDC_CROSS, IDC_WAIT, IDC_APPSTARTING, - IDC_ARROW, + IDC_SIZEALL, IDC_ARROW, IDC_NO, IDC_SIZENS, |