diff options
| author | bobzel <zzzman@gmail.com> | 2023-04-27 09:10:36 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-04-27 09:10:36 -0400 |
| commit | 7342eb81f241ce0b2a5a33ddfb0c865eab6a492f (patch) | |
| tree | 933f5c55dd043f5869771a87df1082614c1e6d5f /src/client/views/nodes/formattedText/marks_rts.ts | |
| parent | d9cb66b5368a1d7d90b1874f928cf69ab62d976d (diff) | |
added proper scaling of multi-selections and groups. fixed pinViewport to work again.
Diffstat (limited to 'src/client/views/nodes/formattedText/marks_rts.ts')
| -rw-r--r-- | src/client/views/nodes/formattedText/marks_rts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/formattedText/marks_rts.ts b/src/client/views/nodes/formattedText/marks_rts.ts index 3898490d3..5b47e8a70 100644 --- a/src/client/views/nodes/formattedText/marks_rts.ts +++ b/src/client/views/nodes/formattedText/marks_rts.ts @@ -349,7 +349,7 @@ export const marks: { [index: string]: MarkSpec } = { group: 'inline', toDOM(node: any) { const uid = node.attrs.userid.replace('.', '').replace('@', ''); - const min = Math.round(node.attrs.modified / 12); + const min = Math.round(node.attrs.modified / 60); const hr = Math.round(min / 60); const day = Math.round(hr / 60 / 24); const remote = node.attrs.userid !== Doc.CurrentUserEmail ? ' UM-remote' : ''; |
