Add canResetTimeline callback and thread it through to TimelinePanel
This commit is contained in:
parent
544a6593e1
commit
4cebded04f
4 changed files with 41 additions and 1 deletions
|
@ -81,6 +81,13 @@ export default React.createClass({
|
|||
return this._scrollStateMap[roomId];
|
||||
},
|
||||
|
||||
canResetTimelineInRoom: function(roomId) {
|
||||
if (!this.refs.roomView) {
|
||||
return true;
|
||||
}
|
||||
return this.refs.roomView.canResetTimeline();
|
||||
},
|
||||
|
||||
_onKeyDown: function(ev) {
|
||||
/*
|
||||
// Remove this for now as ctrl+alt = alt-gr so this breaks keyboards which rely on alt-gr for numbers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue