aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Doc.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-03-20 15:32:06 -0400
committerbobzel <zzzman@gmail.com>2023-03-20 15:32:06 -0400
commit081f328c117ffdf7ab284be86cdf0342041e7708 (patch)
tree937a33c8e89c12cff0307d78b6ff7f11e69e1801 /src/fields/Doc.ts
parentc885ae59ea378648dcc70b6f17dac2d3999c60b1 (diff)
cleaned up pointer events so that nested documents can be selected directly without selecting their container. fixed following link to video timeline marker. fixed focusing on groups. added didMove to DocFocusOptions to restore ability to do toggle on/off of target. fixed lockingPosition of ink strokes. fixed clicking on inkstrokes in groups to use visiblePainted instead of all for pointer events.
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r--src/fields/Doc.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts
index 44314dca2..40ef67f92 100644
--- a/src/fields/Doc.ts
+++ b/src/fields/Doc.ts
@@ -891,10 +891,10 @@ export namespace Doc {
// img.file("smile.gif", imgData, {base64: true});
// Generate the zip file asynchronously
- // zip.generateAsync({ type: 'blob' }).then((content: any) => {
- // // Force down of the Zip file
- // saveAs(content, doc.title + '.zip'); // glr: Possibly change the name of the document to match the title?
- // });
+ zip.generateAsync({ type: 'blob' }).then((content: any) => {
+ // Force down of the Zip file
+ saveAs(content, doc.title + '.zip'); // glr: Possibly change the name of the document to match the title?
+ });
}
//
// Determines whether the layout needs to be expanded (as a template).