mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 16:34:33 +00:00
Updated resizeView, add or update user cursors to get proper view
This commit is contained in:
parent
a879b5b5fd
commit
fb8ead594a
@ -470,6 +470,11 @@ function windowResizeInner() {
|
||||
clearMap();
|
||||
syncScrollToView();
|
||||
editor.setOption('viewportMargin', viewportMargin);
|
||||
//add or update user cursors
|
||||
for (var i = 0; i < onlineUsers.length; i++) {
|
||||
if (onlineUsers[i].id != personalInfo.id)
|
||||
buildCursor(onlineUsers[i]);
|
||||
}
|
||||
updateScrollspy();
|
||||
}, 100);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user