Fixes grid -> topo transition.

- Also don't show table borders when no nodes.
- 't' toggles table mode on/off, rather than 't'/v'
This commit is contained in:
Simon Howe
2016-08-03 08:51:07 +02:00
parent df1efff19b
commit a2810afaf1
4 changed files with 9 additions and 8 deletions
+1 -3
View File
@@ -87,10 +87,8 @@ class App extends React.Component {
dispatch(pinNextMetric(-1));
} else if (char === '>') {
dispatch(pinNextMetric(1));
} else if (char === 'v') {
dispatch(toggleGridMode(false));
} else if (char === 't') {
dispatch(toggleGridMode(true));
dispatch(toggleGridMode());
} else if (char === 'q') {
dispatch(unpinMetric());
dispatch(selectMetric(null));