aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-05-03 14:46:31 -0400
committerbob <bcz@cs.brown.edu>2019-05-03 14:46:31 -0400
commit9b33ac1cb790e88558edb3e4626f5a7b759ea3db (patch)
tree5580b2caca6db47320842c57861ae1ec98b8e3f8 /src/client/views/DocumentDecorations.tsx
parent340b49b4373b2041a167337ec02284e73bfaf3f7 (diff)
added make button option. summarize to text notes that can be frozen to resize.
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 2299f4c32..693d6ec55 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -255,6 +255,7 @@ export class DocumentDecorations extends React.Component<{}, { value: string }>
@action createIcon = (selected: DocumentView[], layoutString: string): Doc => {
let doc = selected[0].props.Document;
let iconDoc = Docs.IconDocument(layoutString);
+ iconDoc.isButton = true;
iconDoc.title = selected.length > 1 ? "ICONset" : "ICON" + StrCast(doc.title);
iconDoc.labelField = this._fieldKey;
iconDoc[this._fieldKey] = selected.length > 1 ? "collection" : undefined;