From a4f9d2544d6b0c1fb4acf92560c56912ac12b4d5 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 18 Apr 2016 16:33:42 +0200 Subject: [PATCH] fix memory --- src/assemblyItemsBrowser.js | 4 ++-- src/basicPanel.js | 2 +- src/basicStyles.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/assemblyItemsBrowser.js b/src/assemblyItemsBrowser.js index 611efe1cf5..8674c1ba4c 100644 --- a/src/assemblyItemsBrowser.js +++ b/src/assemblyItemsBrowser.js @@ -118,8 +118,8 @@ module.exports = React.createClass({ memoryIndex = this.retrieveLastSeenProperty(vmTraceIndex, "memory", props.vmTrace.vmtrace) if (props.vmTrace.vmtrace[memoryIndex].memory || memoryIndex === 0) { - this.setState({ currentMemory: this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory) }) - lastMemory = this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory) + this.setState({ currentMemory: this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory, 16) }) + lastMemory = this.formatMemory(props.vmTrace.vmtrace[memoryIndex].memory, 16) } if (props.vmTrace.vmtrace[vmTraceIndex].calldata) diff --git a/src/basicPanel.js b/src/basicPanel.js index b0df26cac1..7c4ebc0a1a 100644 --- a/src/basicPanel.js +++ b/src/basicPanel.js @@ -31,7 +31,7 @@ module.exports = React.createClass({ if (this.props.data) { for (var key in this.props.data) - ret.push({JSON.stringify(this.props.data[key])}) + ret.push({JSON.stringify(this.props.data[key])}) } return ret } diff --git a/src/basicStyles.js b/src/basicStyles.js index 56a1405941..a4bae4b52a 100644 --- a/src/basicStyles.js +++ b/src/basicStyles.js @@ -10,7 +10,7 @@ module.exports = { { margin: '10px', border: '1px solid', - width: '625px' + width: '800px' }, table: {