catch some errors
parent
b8f8d21478
commit
a992fdedf4
|
@ -488,7 +488,9 @@ export default class CanExplorer extends Component {
|
||||||
this.setState({ firstFrameTime });
|
this.setState({ firstFrameTime });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (newMessages) {
|
||||||
this.addMessagesToDataCache(part, newMessages, newThumbnails);
|
this.addMessagesToDataCache(part, newMessages, newThumbnails);
|
||||||
|
}
|
||||||
|
|
||||||
// const messages = this.addAndRehydrateMessages(
|
// const messages = this.addAndRehydrateMessages(
|
||||||
// newMessages,
|
// newMessages,
|
||||||
|
|
|
@ -58,7 +58,7 @@ export default class CanGraphList extends Component {
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const rect = this.plotListRef.getBoundingClientRect();
|
const rect = this.plotListRef.current.getBoundingClientRect();
|
||||||
const draggingGraph = this.determineDraggingGraph();
|
const draggingGraph = this.determineDraggingGraph();
|
||||||
if (draggingGraph) {
|
if (draggingGraph) {
|
||||||
draggingGraph.ref.hidden = true;
|
draggingGraph.ref.hidden = true;
|
||||||
|
|
|
@ -29,7 +29,7 @@ export default class MessageBytes extends Component {
|
||||||
this.props.message.entries.length - 1
|
this.props.message.entries.length - 1
|
||||||
];
|
];
|
||||||
|
|
||||||
return nextLastEntry.hexData !== curLastEntry.hexData;
|
return !nextLastEntry || !curLastEntry || nextLastEntry.hexData !== curLastEntry.hexData;
|
||||||
}
|
}
|
||||||
return nextProps.seekTime !== this.props.seekTime;
|
return nextProps.seekTime !== this.props.seekTime;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue