Skip to content

Commit

Permalink
fixes related to color picker color change after buttonbar has been r…
Browse files Browse the repository at this point in the history
…e-aligned
  • Loading branch information
ddelpiano committed Dec 17, 2019
1 parent 29b24a8 commit 0f89fb7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/interface/VFBTree/VFBTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,10 @@ export default class VFBTree extends React.Component {
GEPPETTO.on(GEPPETTO.Events.Instances_created, function () {
that.setState({ displayColorPicker: false });
});

GEPPETTO.on(GEPPETTO.Events.Color_set, function (instance) {
that.forceUpdate();
});
}

render () {
Expand Down

0 comments on commit 0f89fb7

Please sign in to comment.