Fixed cursors problem when the user is dragging pixels.

This commit is contained in:
David Capello 2010-05-06 22:00:22 -03:00
parent 8e985a3bd8
commit f9aaf0af99

View File

@ -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);