diff options
author | James Hu <51237606+jameshu111@users.noreply.github.com> | 2023-06-07 11:46:41 -0400 |
---|---|---|
committer | James Hu <51237606+jameshu111@users.noreply.github.com> | 2023-06-07 11:46:41 -0400 |
commit | 32b3261ae97a6d9c3c9e4c026dcd16bea61b3d73 (patch) | |
tree | 7c879a73240b22db95b47f8cbd4a8e040510419a /src/client/documents/Documents.ts | |
parent | 55502b8d24dbbad87af5b9059cc3a746e4db91d9 (diff) | |
parent | 3a70c915f3f2b64de72ac7cdff316184cb12db53 (diff) |
Merge branch 'master' into james-video-loading
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 75998ac40..77f0e1e5e 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -2,7 +2,8 @@ import { IconProp } from '@fortawesome/fontawesome-svg-core'; import { action, runInAction } from 'mobx'; import { basename } from 'path'; import { DateField } from '../../fields/DateField'; -import { DataSym, Doc, DocListCast, Field, FieldsSym, Initializing, Opt, updateCachedAcls } from '../../fields/Doc'; +import { Doc, DocListCast, Field, Opt, updateCachedAcls } from '../../fields/Doc'; +import { Initializing } from '../../fields/DocSymbols'; import { Id } from '../../fields/FieldSymbols'; import { HtmlField } from '../../fields/HtmlField'; import { InkField, PointData } from '../../fields/InkField'; @@ -203,9 +204,9 @@ export class DocumentOptions { _maxFontSize?: number; // maximum font size for labelBoxes _columnWidth?: number; _columnsHideIfEmpty?: boolean; // whether stacking view column headings should be hidden - _fontSize?: string; - _fontFamily?: string; - _fontWeight?: string; + _text_fontSize?: string; + _text_fontFamily?: string; + _text_fontWeight?: string; _pivotField?: string; // field key used to determine headings for sections in stacking, masonry, pivot views _layout_curPage?: number; // current page of a PDF or other? paginated document _layout_currentTimecode?: number; // the current timecode of a time-based document (e.g., current time of a video) value is in seconds @@ -1001,7 +1002,6 @@ export namespace Docs { I.y = options.y as number; I._width = options._width as number; I._height = options._height as number; - I._fontFamily = 'cursive'; I.author = Doc.CurrentUserEmail; I.rotation = 0; I.defaultDoubleClick = 'click'; |