Fix: keep element selection after layer move up/down (#29634)

This commit is contained in:
Robert Monfera 2019-01-30 20:26:04 +01:00 committed by GitHub
parent 15f95e8b8e
commit 74babb2f76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,7 +344,10 @@ export const aeroelastic = ({ dispatch, getState }) => {
populateWithElements(page);
}
if (action.type !== setMultiplePositions.toString()) {
if (
action.type !== setMultiplePositions.toString() &&
action.type !== elementLayer.toString()
) {
unselectShape(prevPage);
}