mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Fixed some new-line issues.
This commit is contained in:
parent
324435760d
commit
470ae96c3b
@ -100,13 +100,12 @@ void FlipCommand::execute(Context* context)
|
||||
|
||||
image = GetImage2(sprite, &x, &y, NULL);
|
||||
if (!image)
|
||||
return;
|
||||
|
||||
// mask is empty?
|
||||
if (sprite->mask->is_empty()) {
|
||||
// so we flip the entire image
|
||||
x1 = 0;
|
||||
y1 = 0;
|
||||
return;
|
||||
// mask is empty?
|
||||
if (sprite->mask->is_empty()) {
|
||||
// so we flip the entire image
|
||||
x1 = 0;
|
||||
y1 = 0;
|
||||
x2 = image->w-1;
|
||||
y2 = image->h-1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user