diff --git a/src/actions/actionExport.tsx b/src/actions/actionExport.tsx index 54d832f838..ab2fc2edb0 100644 --- a/src/actions/actionExport.tsx +++ b/src/actions/actionExport.tsx @@ -42,6 +42,26 @@ export const actionChangeExportBackground = register({ ), }); +export const actionChangeShouldAddWatermark = register({ + name: "changeShouldAddWatermark", + perform: (_elements, appState, value) => { + return { + appState: { ...appState, shouldAddWatermark: value }, + commitToHistory: false, + }; + }, + PanelComponent: ({ appState, updateData }) => ( + + ), +}); + export const actionSaveScene = register({ name: "saveScene", perform: (elements, appState, value) => { diff --git a/src/actions/types.ts b/src/actions/types.ts index c3bd76bf52..2cb7e2470c 100644 --- a/src/actions/types.ts +++ b/src/actions/types.ts @@ -39,6 +39,7 @@ export type ActionName = | "finalize" | "changeProjectName" | "changeExportBackground" + | "changeShouldAddWatermark" | "saveScene" | "loadScene" | "duplicateSelection" diff --git a/src/appState.ts b/src/appState.ts index 5087a3523c..0cd2fca027 100644 --- a/src/appState.ts +++ b/src/appState.ts @@ -17,6 +17,7 @@ export function getDefaultAppState(): AppState { elementType: "selection", elementLocked: false, exportBackground: true, + shouldAddWatermark: false, currentItemStrokeColor: oc.black, currentItemBackgroundColor: "transparent", currentItemFillStyle: "hachure", @@ -73,6 +74,7 @@ export function clearAppStatePropertiesForHistory( return { selectedElementIds: appState.selectedElementIds, exportBackground: appState.exportBackground, + shouldAddWatermark: appState.shouldAddWatermark, currentItemStrokeColor: appState.currentItemStrokeColor, currentItemBackgroundColor: appState.currentItemBackgroundColor, currentItemFillStyle: appState.currentItemFillStyle, diff --git a/src/components/ExportDialog.tsx b/src/components/ExportDialog.tsx index 4e6cd9bd31..4c9eceec97 100644 --- a/src/components/ExportDialog.tsx +++ b/src/components/ExportDialog.tsx @@ -48,7 +48,11 @@ function ExportModal({ const [scale, setScale] = useState(defaultScale); const [exportSelected, setExportSelected] = useState(someElementIsSelected); const previewRef = useRef(null); - const { exportBackground, viewBackgroundColor } = appState; + const { + exportBackground, + viewBackgroundColor, + shouldAddWatermark, + } = appState; const exportedElements = exportSelected ? getSelectedElements(elements, appState) @@ -65,6 +69,7 @@ function ExportModal({ viewBackgroundColor, exportPadding, scale, + shouldAddWatermark, }); previewNode?.appendChild(canvas); return () => { @@ -77,6 +82,7 @@ function ExportModal({ exportPadding, viewBackgroundColor, scale, + shouldAddWatermark, ]); return ( @@ -150,6 +156,7 @@ function ExportModal({ )} + {actionManager.renderAction("changeShouldAddWatermark")} ); diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index 30e8a14beb..2e482db929 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -79,6 +79,7 @@ const LayerUI = ({ name: appState.name, viewBackgroundColor: appState.viewBackgroundColor, scale, + shouldAddWatermark: appState.shouldAddWatermark, }); } }; diff --git a/src/data/index.ts b/src/data/index.ts index 6a2d0cfab8..a37fb58f6c 100644 --- a/src/data/index.ts +++ b/src/data/index.ts @@ -294,12 +294,14 @@ export async function exportCanvas( viewBackgroundColor, name, scale = 1, + shouldAddWatermark, }: { exportBackground: boolean; exportPadding?: number; viewBackgroundColor: string; name: string; scale?: number; + shouldAddWatermark: boolean; }, ) { if (elements.length === 0) { @@ -310,6 +312,7 @@ export async function exportCanvas( exportBackground, viewBackgroundColor, exportPadding, + shouldAddWatermark, }); if (type === "svg") { await fileSave(new Blob([tempSvg.outerHTML], { type: "image/svg+xml" }), { @@ -327,6 +330,7 @@ export async function exportCanvas( viewBackgroundColor, exportPadding, scale, + shouldAddWatermark, }); tempCanvas.style.display = "none"; document.body.appendChild(tempCanvas); diff --git a/src/index-node.ts b/src/index-node.ts index 9cc89c946e..47f732d1e5 100644 --- a/src/index-node.ts +++ b/src/index-node.ts @@ -63,6 +63,7 @@ const canvas = exportToCanvas( { exportBackground: true, viewBackgroundColor: "#ffffff", + shouldAddWatermark: false, scale: 1, }, createCanvas, diff --git a/src/locales/en.json b/src/locales/en.json index c8bae860ab..a557096d29 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -23,6 +23,7 @@ "fontFamily": "Font family", "onlySelected": "Only selected", "withBackground": "With Background", + "addWatermark": "Add \"Made with Excalidraw\"", "handDrawn": "Hand-drawn", "normal": "Normal", "code": "Code", @@ -52,7 +53,8 @@ "createRoom": "Share a live-collaboration session", "duplicateSelection": "Duplicate", "untitled": "Untitled", - "name": "Name" + "name": "Name", + "madeWithExcalidraw": "Made with Excalidraw" }, "buttons": { "clearReset": "Reset the canvas", diff --git a/src/scene/export.ts b/src/scene/export.ts index 311a251862..31c81db98e 100644 --- a/src/scene/export.ts +++ b/src/scene/export.ts @@ -1,10 +1,13 @@ import rough from "roughjs/bin/rough"; +import oc from "open-color"; +import { newTextElement } from "../element"; import { NonDeletedExcalidrawElement } from "../element/types"; import { getCommonBounds } from "../element/bounds"; import { renderScene, renderSceneToSvg } from "../renderer/renderScene"; -import { distance, SVG_NS } from "../utils"; +import { distance, SVG_NS, measureText } from "../utils"; import { normalizeScroll } from "./scroll"; import { AppState } from "../types"; +import { t } from "../i18n"; export const SVG_EXPORT_TAG = ``; @@ -16,11 +19,13 @@ export function exportToCanvas( exportPadding = 10, viewBackgroundColor, scale = 1, + shouldAddWatermark, }: { exportBackground: boolean; exportPadding?: number; scale?: number; viewBackgroundColor: string; + shouldAddWatermark: boolean; }, createCanvas: (width: number, height: number) => any = function ( width, @@ -32,15 +37,24 @@ export function exportToCanvas( return tempCanvas; }, ) { + let sceneElements = elements; + if (shouldAddWatermark) { + const [, , maxX, maxY] = getCommonBounds(elements); + sceneElements = [...sceneElements, getWatermarkElement(maxX, maxY)]; + } + // calculate smallest area to fit the contents in - const [minX, minY, maxX, maxY] = getCommonBounds(elements); + const [minX, minY, maxX, maxY] = getCommonBounds(sceneElements); const width = distance(minX, maxX) + exportPadding * 2; - const height = distance(minY, maxY) + exportPadding * 2; + const height = + distance(minY, maxY) + + exportPadding + + (shouldAddWatermark ? 0 : exportPadding); const tempCanvas: any = createCanvas(width, height); renderScene( - elements, + sceneElements, appState, null, scale, @@ -62,6 +76,7 @@ export function exportToCanvas( renderOptimizations: false, }, ); + return tempCanvas; } @@ -71,16 +86,27 @@ export function exportToSvg( exportBackground, exportPadding = 10, viewBackgroundColor, + shouldAddWatermark, }: { exportBackground: boolean; exportPadding?: number; viewBackgroundColor: string; + shouldAddWatermark: boolean; }, ): SVGSVGElement { + let sceneElements = elements; + if (shouldAddWatermark) { + const [, , maxX, maxY] = getCommonBounds(elements); + sceneElements = [...sceneElements, getWatermarkElement(maxX, maxY)]; + } + // calculate canvas dimensions - const [minX, minY, maxX, maxY] = getCommonBounds(elements); + const [minX, minY, maxX, maxY] = getCommonBounds(sceneElements); const width = distance(minX, maxX) + exportPadding * 2; - const height = distance(minY, maxY) + exportPadding * 2; + const height = + distance(minY, maxY) + + exportPadding + + (shouldAddWatermark ? 0 : exportPadding); // initialze SVG root const svgRoot = document.createElementNS(SVG_NS, "svg"); @@ -116,9 +142,30 @@ export function exportToSvg( } const rsvg = rough.svg(svgRoot); - renderSceneToSvg(elements, rsvg, svgRoot, { + renderSceneToSvg(sceneElements, rsvg, svgRoot, { offsetX: -minX + exportPadding, offsetY: -minY + exportPadding, }); + return svgRoot; } + +function getWatermarkElement(maxX: number, maxY: number) { + const text = t("labels.madeWithExcalidraw"); + const font = "16px Virgil"; + const { width: textWidth } = measureText(text, font); + + return newTextElement({ + text, + font, + textAlign: "center", + x: maxX - textWidth / 2, + y: maxY + 16, + strokeColor: oc.gray[5], + backgroundColor: "transparent", + fillStyle: "hachure", + strokeWidth: 1, + roughness: 1, + opacity: 100, + }); +} diff --git a/src/tests/__snapshots__/regressionTests.test.tsx.snap b/src/tests/__snapshots__/regressionTests.test.tsx.snap index 9b52a0bf12..b89a9240fd 100644 --- a/src/tests/__snapshots__/regressionTests.test.tsx.snap +++ b/src/tests/__snapshots__/regressionTests.test.tsx.snap @@ -37,6 +37,7 @@ Object { "id1": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -109,6 +110,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -149,6 +151,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -236,6 +239,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -286,6 +290,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -354,6 +359,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -404,6 +410,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -443,6 +450,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -482,6 +490,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -521,6 +530,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -560,6 +570,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -629,6 +640,7 @@ Object { "id1": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -679,6 +691,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -719,6 +732,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -789,6 +803,7 @@ Object { "id2": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -839,6 +854,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -879,6 +895,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -920,6 +937,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -989,6 +1007,7 @@ Object { "id2": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -1061,6 +1080,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1100,6 +1120,7 @@ Object { "selectedElementIds": Object { "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1159,6 +1180,7 @@ Object { "id0": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1248,6 +1270,7 @@ Object { "id3": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -1342,6 +1365,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1381,6 +1405,7 @@ Object { "selectedElementIds": Object { "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1439,6 +1464,7 @@ Object { "selectedElementIds": Object { "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1518,6 +1544,7 @@ Object { "id1": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1647,6 +1674,7 @@ Object { "scrolledOutside": false, "selectedElementIds": Object {}, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -1805,6 +1833,7 @@ Object { "exportBackground": true, "name": "Untitled-201933152653", "selectedElementIds": Object {}, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [], @@ -1824,6 +1853,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1863,6 +1893,7 @@ Object { "selectedElementIds": Object { "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1921,6 +1952,7 @@ Object { "selectedElementIds": Object { "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -1998,6 +2030,7 @@ Object { "selectedElementIds": Object { "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -2105,6 +2138,7 @@ Object { "selectedElementIds": Object { "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -2271,6 +2305,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -2321,6 +2356,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -2389,6 +2425,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -2439,6 +2476,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -2507,6 +2545,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -2557,6 +2596,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -2625,6 +2665,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -2686,6 +2727,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -2765,6 +2807,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -2826,6 +2869,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -2905,6 +2949,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -2966,6 +3011,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3045,6 +3091,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -3095,6 +3142,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3163,6 +3211,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -3213,6 +3262,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3281,6 +3331,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -3342,6 +3393,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3421,6 +3473,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -3471,6 +3524,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3539,6 +3593,7 @@ Object { "id0": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": true, "showShortcutsDialog": false, "username": "", @@ -3611,6 +3666,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -3661,6 +3717,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3701,6 +3758,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3742,6 +3800,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3784,6 +3843,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3827,6 +3887,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3871,6 +3932,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3916,6 +3978,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -3962,6 +4025,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4009,6 +4073,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4057,6 +4122,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4106,6 +4172,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4156,6 +4223,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4207,6 +4275,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4259,6 +4328,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4312,6 +4382,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4366,6 +4437,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4421,6 +4493,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4496,6 +4569,7 @@ Object { "id7": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -4546,6 +4620,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4586,6 +4661,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4627,6 +4703,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4669,6 +4746,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4712,6 +4790,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4756,6 +4835,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4801,6 +4881,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4847,6 +4928,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -4920,6 +5002,7 @@ Object { "id5": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -4970,6 +5053,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5010,6 +5094,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5051,6 +5136,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5093,6 +5179,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5136,6 +5223,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5180,6 +5268,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5251,6 +5340,7 @@ Object { "id3": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -5301,6 +5391,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5341,6 +5432,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5382,6 +5474,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5424,6 +5517,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5493,6 +5587,7 @@ Object { "id1": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -5543,6 +5638,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5583,6 +5679,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5666,6 +5763,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -5716,6 +5814,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5756,6 +5855,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5797,6 +5897,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5839,6 +5940,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5882,6 +5984,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5926,6 +6029,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -5971,6 +6075,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6017,6 +6122,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6064,6 +6170,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6112,6 +6219,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6161,6 +6269,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6211,6 +6320,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6262,6 +6372,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6314,6 +6425,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6367,6 +6479,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6421,6 +6534,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6502,6 +6616,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -6552,6 +6667,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6592,6 +6708,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6633,6 +6750,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6675,6 +6793,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6718,6 +6837,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6762,6 +6882,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6807,6 +6928,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6853,6 +6975,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6900,6 +7023,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6948,6 +7072,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -6997,6 +7122,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7047,6 +7173,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7098,6 +7225,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7150,6 +7278,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7229,6 +7358,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -7279,6 +7409,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7319,6 +7450,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7360,6 +7492,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7402,6 +7535,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7445,6 +7579,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7489,6 +7624,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7534,6 +7670,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7580,6 +7717,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7627,6 +7765,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7675,6 +7814,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7724,6 +7864,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7774,6 +7915,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7851,6 +7993,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -7901,6 +8044,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7941,6 +8085,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -7982,6 +8127,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8024,6 +8170,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8067,6 +8214,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8111,6 +8259,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8156,6 +8305,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8202,6 +8352,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8249,6 +8400,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8297,6 +8449,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8373,6 +8526,7 @@ Object { "id8": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -8423,6 +8577,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8463,6 +8618,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8504,6 +8660,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8546,6 +8703,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8589,6 +8747,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8633,6 +8792,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8678,6 +8838,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8724,6 +8885,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8771,6 +8933,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8845,6 +9008,7 @@ Object { "id6": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -8895,6 +9059,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8935,6 +9100,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -8976,6 +9142,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9018,6 +9185,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9061,6 +9229,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9105,6 +9274,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9150,6 +9320,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9222,6 +9393,7 @@ Object { "id4": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -9272,6 +9444,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9312,6 +9485,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9353,6 +9527,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9395,6 +9570,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9438,6 +9614,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9508,6 +9685,7 @@ Object { "id2": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -9558,6 +9736,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9598,6 +9777,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9639,6 +9819,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9723,6 +9904,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -9773,6 +9955,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9813,6 +9996,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9854,6 +10038,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9896,6 +10081,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9939,6 +10125,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -9983,6 +10170,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10028,6 +10216,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10074,6 +10263,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10121,6 +10311,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10169,6 +10360,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10218,6 +10410,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10268,6 +10461,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10319,6 +10513,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10371,6 +10566,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10424,6 +10620,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10478,6 +10675,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10533,6 +10731,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10615,6 +10814,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -10665,6 +10865,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10705,6 +10906,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10746,6 +10948,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10788,6 +10991,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10831,6 +11035,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10875,6 +11080,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10920,6 +11126,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -10966,6 +11173,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11013,6 +11221,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11061,6 +11270,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11110,6 +11320,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11160,6 +11371,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11211,6 +11423,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11263,6 +11476,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11316,6 +11530,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11396,6 +11611,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -11446,6 +11662,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11486,6 +11703,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11527,6 +11745,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11569,6 +11788,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11612,6 +11832,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11656,6 +11877,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11701,6 +11923,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11747,6 +11970,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11794,6 +12018,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11842,6 +12067,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11891,6 +12117,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11941,6 +12168,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -11992,6 +12220,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12070,6 +12299,7 @@ Object { "id9": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -12120,6 +12350,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12160,6 +12391,7 @@ Object { "id0": true, "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12201,6 +12433,7 @@ Object { "id1": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12243,6 +12476,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12286,6 +12520,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12330,6 +12565,7 @@ Object { "id4": true, "id5": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12375,6 +12611,7 @@ Object { "id5": true, "id6": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12421,6 +12658,7 @@ Object { "id6": true, "id7": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12468,6 +12706,7 @@ Object { "id7": true, "id8": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12516,6 +12755,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12565,6 +12805,7 @@ Object { "id8": true, "id9": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12637,6 +12878,7 @@ Object { "id4": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -12709,6 +12951,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12748,6 +12991,7 @@ Object { "selectedElementIds": Object { "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12807,6 +13051,7 @@ Object { "id0": true, "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12868,6 +13113,7 @@ Object { "id2": true, "id3": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -12930,6 +13176,7 @@ Object { "id3": true, "id4": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -13015,6 +13262,7 @@ Object { "scrolledOutside": false, "selectedElementIds": Object {}, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -13071,6 +13319,7 @@ Object { "id1": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": true, "showShortcutsDialog": false, "username": "", @@ -13127,6 +13376,7 @@ Object { "id1": true, }, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", @@ -13220,6 +13470,7 @@ Object { "selectedElementIds": Object { "id2": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -13299,6 +13550,7 @@ Object { "selectedElementIds": Object { "id0": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -13338,6 +13590,7 @@ Object { "selectedElementIds": Object { "id1": true, }, + "shouldAddWatermark": false, "viewBackgroundColor": "#ffffff", }, "elements": Array [ @@ -13423,6 +13676,7 @@ Object { "scrolledOutside": false, "selectedElementIds": Object {}, "selectionElement": null, + "shouldAddWatermark": false, "shouldCacheIgnoreZoom": false, "showShortcutsDialog": false, "username": "", diff --git a/src/types.ts b/src/types.ts index 3f9d39db55..4bec95eecf 100644 --- a/src/types.ts +++ b/src/types.ts @@ -25,6 +25,7 @@ export type AppState = { elementType: typeof SHAPES[number]["value"]; elementLocked: boolean; exportBackground: boolean; + shouldAddWatermark: boolean; currentItemStrokeColor: string; currentItemBackgroundColor: string; currentItemFillStyle: string;