diff options
| author | bobzel <zzzman@gmail.com> | 2021-08-10 13:42:47 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-08-10 13:42:47 -0400 |
| commit | fe78892ad8dd477779e0746918be373b9b5c15c0 (patch) | |
| tree | e694b7b4735a7669809c44ed076bf4bf8279f19f /src/client/views/DocumentDecorations.tsx | |
| parent | 9a99b8c2879a5e03629cfb08cbca2c9fc7de25eb (diff) | |
fixes for git-like to work with sidebar. added 'lastModified' field for changes to x/y/width/height
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
| -rw-r--r-- | src/client/views/DocumentDecorations.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx index d24ab974c..118d2e7c7 100644 --- a/src/client/views/DocumentDecorations.tsx +++ b/src/client/views/DocumentDecorations.tsx @@ -27,6 +27,7 @@ import { LightboxView } from './LightboxView'; import { DocumentView } from "./nodes/DocumentView"; import React = require("react"); import { FormattedTextBox } from './nodes/formattedText/FormattedTextBox'; +import { DateField } from '../../fields/DateField'; @observer export class DocumentDecorations extends React.Component<{ boundsLeft: number, boundsTop: number }, { value: string }> { @@ -367,6 +368,7 @@ export class DocumentDecorations extends React.Component<{ boundsLeft: number, b dW && (doc._width = actualdW); dH && (doc._autoHeight = false); } + doc._lastModified = new DateField(); } const val = this._dragHeights.get(docView.layoutDoc); if (val) this._dragHeights.set(docView.layoutDoc, { start: val.start, lowest: Math.min(val.lowest, NumCast(docView.layoutDoc._height)) }); |
