Fix moving rectangular marquee box while selecting color (fix #3143)

This commit is contained in:
Joshua Ogunyinka 2022-01-28 19:08:05 +04:00 committed by David Capello
parent 9e23d31d84
commit aa188d641b

View File

@ -391,6 +391,9 @@ bool MovingPixelsState::onMouseMove(Editor* editor, MouseMessage* msg)
void MovingPixelsState::onCommitMouseMove(Editor* editor,
const gfx::PointF& spritePos)
{
if (!m_pixelsMovement->isDragging())
return;
m_pixelsMovement->setFastMode(true);
// Get the customization for the pixels movement (snap to grid, angle snap, etc.).