mirror of https://github.com/aseprite/aseprite.git
Do not drop pixels if ScrollCommand is executed
This commit is contained in:
parent
16ba5920a1
commit
35fc9836df
|
|
@ -408,7 +408,8 @@ void MovingPixelsState::onBeforeCommandExecution(Command* command)
|
|||
if (moveMaskCmd->getTarget() == MoveMaskCommand::Content)
|
||||
return;
|
||||
}
|
||||
else if (strcmp(command->short_name(), CommandId::Zoom) == 0) {
|
||||
else if ((strcmp(command->short_name(), CommandId::Zoom) == 0) ||
|
||||
(strcmp(command->short_name(), CommandId::Scroll) == 0)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue