Browse Source

Up

up-style-manager
Artur Arseniev 4 years ago
parent
commit
18bea14c1e
  1. 1
      src/style_manager/index.js

1
src/style_manager/index.js

@ -341,6 +341,7 @@ export default () => {
const lastTargetParents = this.getParentRules(lastTarget, em.getState());
let stateTarget = this.__getStateTarget();
// Handle the creation and update of the state rule, if enabled.
em.skip(() => {
if (em.getState() && lastTarget?.getState?.()) {
const style = lastTarget.getStyle();

Loading…
Cancel
Save