mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-23 09:41:04 +00:00
Minor formatting changes
This commit is contained in:
parent
d917ab7c53
commit
218a0863c3
@ -447,11 +447,11 @@ void Timeline::setFrame(frame_t frame, bool byUser)
|
||||
if (m_layer) {
|
||||
Cel* oldCel = m_layer->cel(m_frame);
|
||||
Cel* newCel = m_layer->cel(frame);
|
||||
std::size_t oldLinks = oldCel ? oldCel->links(): 0;
|
||||
std::size_t newLinks = newCel ? newCel->links(): 0;
|
||||
std::size_t oldLinks = (oldCel ? oldCel->links(): 0);
|
||||
std::size_t newLinks = (newCel ? newCel->links(): 0);
|
||||
if ((oldLinks && !newCel) ||
|
||||
( newLinks && !oldCel) ||
|
||||
((oldLinks>0 || newLinks>0) && (oldCel->data() != newCel->data())))
|
||||
(newLinks && !oldCel) ||
|
||||
((oldLinks || newLinks) && (oldCel->data() != newCel->data())))
|
||||
invalidateLayer(m_layer);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user