diff --git a/app/src/components/Demo/Mouse.tsx b/app/src/components/Demo/Mouse.tsx
index acaea1b..5a5fc7f 100644
--- a/app/src/components/Demo/Mouse.tsx
+++ b/app/src/components/Demo/Mouse.tsx
@@ -58,13 +58,13 @@ class Demo extends React.Component<{classes: any}, State> {
return null
}
- const style = {
+ const cursorStyle = {
left: this.state.position.x + 2,
top: this.state.position.y + 2,
}
return (
-
+
)
}
}
@@ -76,7 +76,7 @@ const style = (theme: Theme) => ({
position: 'fixed' as 'fixed',
zIndex: 1000000,
filter: theme.palette.type === 'light' ? undefined : 'invert(100%)',
- }
+ },
})
export default withStyles(style)(Demo)
diff --git a/app/src/components/Layout/PauseButton.tsx b/app/src/components/Layout/PauseButton.tsx
index b1e0647..2464b2a 100644
--- a/app/src/components/Layout/PauseButton.tsx
+++ b/app/src/components/Layout/PauseButton.tsx
@@ -10,7 +10,12 @@ import { treeActions } from '../../actions'
import { StyleRulesCallback, withStyles } from '@material-ui/core/styles'
import { Tooltip } from '@material-ui/core'
-const styles: StyleRulesCallback = theme => ({ })
+const styles: StyleRulesCallback = theme => ({
+ icon: {
+ color: theme.palette.primary.contrastText,
+ verticalAlign: 'middle' as 'middle',
+ },
+})
interface Props {
classes: any
@@ -66,7 +71,7 @@ class PauseButton extends React.Component {
- {this.props.paused ? : }
+ {this.props.paused ? : }