mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-11 09:40:42 +00:00
Fix problem setting cel color in all cels when a range is selected in Timeline
This commit is contained in:
parent
5e67441af3
commit
db13644e0a
@ -177,9 +177,8 @@ private:
|
||||
}
|
||||
else {
|
||||
for (Cel* cel : m_document->sprite()->uniqueCels()) {
|
||||
if (!cel->layer()->isBackground() &&
|
||||
m_range.inRange(cel->sprite()->layerToIndex(cel->layer()),
|
||||
cel->frame())) {
|
||||
if (m_range.inRange(cel->sprite()->layerToIndex(cel->layer()), cel->frame())) {
|
||||
if (!cel->layer()->isBackground()) {
|
||||
transaction.execute(new cmd::SetCelOpacity(cel, newOpacity));
|
||||
}
|
||||
|
||||
@ -192,6 +191,7 @@ private:
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
transaction.commit();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user