@operato/board 1.4.2 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@operato/board",
3
- "version": "1.4.2",
3
+ "version": "1.4.4",
4
4
  "description": "Webcomponent for board following open-wc recommendations",
5
5
  "author": "heartyoh",
6
6
  "main": "dist/src/index.js",
@@ -148,5 +148,5 @@
148
148
  "prettier --write"
149
149
  ]
150
150
  },
151
- "gitHead": "54991e6c0b39b080d2f7bb2e0aa95f6561a2db5b"
151
+ "gitHead": "068a0836747e6ecc61a3e8e1017c94bd9fb7436b"
152
152
  }
@@ -320,6 +320,9 @@ export class SceneInspector extends LitElement {
320
320
  selectComponent(component: Component) {
321
321
  this.scene!.selected = [component]
322
322
 
323
+ component.trigger('reactionreset')
324
+ component.trigger('reaction')
325
+
323
326
  this.requestUpdate()
324
327
  }
325
328
 
@@ -112,7 +112,8 @@ export class BoardComponentInfo extends LitElement {
112
112
  <td>
113
113
  <a
114
114
  @click=${(e: MouseEvent) => {
115
- this.component.rootModel.centerTo(this.component, true)
115
+ this.component.trigger('reactionreset')
116
+ this.component.trigger('reaction')
116
117
  return false
117
118
  }}
118
119
  >${id}</a