Notify the timeline it's height has changed, so it can keep being at the bottom

this way new messages will appear in the timeline without needing to scroll
This commit is contained in:
Bruno Windels 2020-07-31 14:02:40 +02:00
parent 01d624fdaf
commit d24ddc415b
4 changed files with 13 additions and 0 deletions

View file

@ -53,6 +53,10 @@ export default class ResizeNotifier extends EventEmitter {
this._updateMiddlePanel();
}
notifyTimelineHeightChanged() {
this._updateMiddlePanel();
}
// can be called in quick succession
notifyWindowResized() {
// no need to throttle this one,