From 782271987bc2585fd92659dfe09dcb7270535b20 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 17 Apr 2023 11:08:03 -0400 Subject: used stats to detect unnecessary server message when changing css style for text notes --- src/fields/Doc.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fields') diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index 662792ff0..6c808c145 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -96,6 +96,7 @@ export const HighlightSym = Symbol('Highlight'); export const DataSym = Symbol('Data'); export const LayoutSym = Symbol('Layout'); export const FieldsSym = Symbol('Fields'); +export const CssSym = Symbol('Css'); export const AclSym = Symbol('Acl'); export const DirectLinksSym = Symbol('DirectLinks'); export const AclUnset = Symbol('AclUnset'); @@ -341,6 +342,7 @@ export class Doc extends RefField { @observable private ___fieldKeys: any = {}; /// all of the raw acl's that have been set on this document. Use GetEffectiveAcl to determine the actual ACL of the doc for editing @observable public [AclSym]: { [key: string]: symbol } = {}; + @observable public [CssSym]: number = 0; // incrementer denoting a change to CSS layout @observable public [DirectLinksSym]: Set = new Set(); @observable public [AnimationSym]: Opt; @observable public [HighlightSym]: boolean = false; -- cgit v1.2.3-70-g09d2