I have to move the scroll-into-view logic into the LayerGroup as ordering LayerFace within the same group will not re-render the layer face, which makes it difficult to know when to scroll the panel as the LayerFace#componentDidUpdate is not called. This also result in a cleaner solution for scrolling the panel. Now the scroll works for:
order layer via menu items (e.g. Bring Forward cmd+])
Fix for issue #3375
I have to move the
scroll-into-view
logic into theLayerGroup
as orderingLayerFace
within the same group will not re-render the layer face, which makes it difficult to know when to scroll the panel as theLayerFace#componentDidUpdate
is not called. This also result in a cleaner solution for scrolling the panel. Now the scroll works for:cmd+]
)