mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-15 19:52:05 +00:00
Change all selected cel properties when we select frames/layers (fix #3807)
The Cel Properties dialog wasn't working right when we selected a range of layers or frames.
This commit is contained in:
parent
c902c563e3
commit
7a26281ce3
@ -209,8 +209,10 @@ private:
|
||||
Tx tx(writer.context(), "Set Cel Properties");
|
||||
|
||||
DocRange range;
|
||||
if (m_range.enabled())
|
||||
if (m_range.enabled()) {
|
||||
range = m_range;
|
||||
range.convertToCels(m_document->sprite());
|
||||
}
|
||||
else {
|
||||
range.startRange(m_cel->layer(), m_cel->frame(), DocRange::kCels);
|
||||
range.endRange(m_cel->layer(), m_cel->frame());
|
||||
|
Loading…
Reference in New Issue
Block a user