mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Fixed cursors problem when the user is dragging pixels.
This commit is contained in:
parent
8e985a3bd8
commit
f9aaf0af99
@ -1531,7 +1531,8 @@ void Editor::editor_setcursor(int x, int y)
|
||||
screen_to_editor(jmouse_x(0), jmouse_y(0), &x, &y);
|
||||
|
||||
// Move selection
|
||||
if (m_sprite->getMask()->contains_point(x, y)) {
|
||||
if (m_pixelsMovement->isDragging() ||
|
||||
m_sprite->getMask()->contains_point(x, y)) {
|
||||
hide_drawing_cursor();
|
||||
jmouse_set_cursor(JI_CURSOR_MOVE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user