diff options
| author | bobzel <zzzman@gmail.com> | 2025-04-22 14:45:05 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-04-22 14:45:05 -0400 |
| commit | 7671e543dc677c82071d6eaccc33bd164450620d (patch) | |
| tree | 83c0d14357cea070f9c54ee41f031aa162597e90 /src/client/views/PropertiesView.tsx | |
| parent | 6aa7649ea9195cf3fc53cf70e126095a9045e057 (diff) | |
protoype version of scrapboxBox. added rejectDrop prop to prevent drops on child documentviews
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
| -rw-r--r-- | src/client/views/PropertiesView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index e7186c0e3..acf6f928a 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -161,7 +161,7 @@ export class PropertiesView extends ObservableReactComponent<PropertiesViewProps CollectionViewType.Card, CollectionViewType.Carousel, CollectionViewType.Grid, - ].includes(this.selectedDoc?.type_collection as CollectionViewType); + ].includes(this.selectedDoc?.type_collection as CollectionViewType) || this.selectedDoc.$type === DocumentType.SCRAPBOOK; // prettier-ignore } rtfWidth = () => (!this.selectedLayoutDoc ? 0 : Math.min(NumCast(this.selectedLayoutDoc?._width), this._props.width - 20)); |
