Focus composer on alt-up/down

This commit is contained in:
David Baker 2015-08-11 14:43:52 +01:00
parent b44d19d305
commit 18c56a171e

View File

@ -160,6 +160,7 @@ module.exports = {
} }
} }
roomIndex = (roomIndex + roomIndexDelta) % allRooms.length; roomIndex = (roomIndex + roomIndexDelta) % allRooms.length;
this.focusComposer = true;
this.setState({ this.setState({
currentRoom: allRooms[roomIndex].roomId currentRoom: allRooms[roomIndex].roomId
}); });