Fix duplicated groups not updating when moving

Fix incorrect text color in action control
This commit is contained in:
JannisX11 2021-11-12 21:50:04 +01:00
parent f46e9ea855
commit cbc86d0509
2 changed files with 7 additions and 2 deletions

View File

@ -1177,7 +1177,7 @@
}
#action_selector ul {
background-color: var(--color-bright_ui);
color: var(--color-accent_text);
color: var(--color-bright_ui_text);
min-height: 20px;
width: 100%;
max-height: 400px;

View File

@ -742,7 +742,12 @@ function moveElementsInSpace(difference, axis) {
el.mapAutoUV()
}
})
Canvas.updateView({elements: selected, element_aspects: {transform: true, geometry: true}})
Canvas.updateView({
elements: Outliner.selected,
element_aspects: {transform: true, geometry: true},
groups: Group.all.filter(g => g.selected),
group_aspects: {transform: true}
})
}
//Rotate