add tooltip viewer

This commit is contained in:
Mario
2020-12-22 09:36:13 +01:00
parent 5eb6a94a0b
commit f6f6d6f1da
13 changed files with 143 additions and 23 deletions
@@ -50,6 +50,7 @@ class WorkspaceStats extends Component {
};
render() {
const bigDisplay = !isWidthDown('sm', this.props.width);
const workspace = Blockly.getMainWorkspace();
const remainingBlocksInfinity = workspace ? workspace.remainingCapacity() !== Infinity : null;