mirror of
https://github.com/xodio/xod.git
synced 2026-03-18 22:56:51 +01:00
Merge pull request #946 from xodio/fix-update-watch-nodes
Fix watch nodes not updating in debug mode
This commit is contained in:
@@ -38,7 +38,6 @@ describe('IDE: Blink project', () => {
|
||||
.then(() => ide.page.assertNoPatchesAreOpen())
|
||||
// close patch group to restore initial state
|
||||
.then(() => ide.page.findPatchGroup(patchGroup).click())
|
||||
.then(() => ide.page.assertPatchGroupCollapsed(patchGroup))
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ const chai = require('chai');
|
||||
const chaiAsPromised = require('chai-as-promised');
|
||||
|
||||
chai.use(chaiAsPromised);
|
||||
const assert = chai.assert;
|
||||
const { assert } = chai;
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Func utils
|
||||
|
||||
@@ -23,21 +23,10 @@ class Node extends React.Component {
|
||||
|
||||
shouldComponentUpdate(newProps) {
|
||||
return !R.eqBy(
|
||||
R.pick([
|
||||
'id',
|
||||
'label',
|
||||
'type',
|
||||
'pins',
|
||||
'size',
|
||||
'position',
|
||||
'dead',
|
||||
'isSelected',
|
||||
'isGhost',
|
||||
'isDragged',
|
||||
'hidden',
|
||||
'noEvents',
|
||||
'linkingPin',
|
||||
'pinLinkabilityValidator',
|
||||
R.omit([
|
||||
'onMouseDown',
|
||||
'onMouseUp',
|
||||
'onDoubleClick',
|
||||
]),
|
||||
newProps,
|
||||
this.props
|
||||
|
||||
Reference in New Issue
Block a user