Add optional watermark on export (#1365)

* Add optional watermark on export

* Address init PR feedback

* Add SVG export with refactoring

* Update export.ts

* Move addWatermark to appState

* Update snapshots

* Fit watermark in small scene

* Rename watermark things

Co-authored-by: Lipis <lipiridis@gmail.com>
This commit is contained in:
Ed Bentley 2020-04-19 20:50:23 +01:00 committed by GitHub
parent 13cea081f3
commit 5822117e23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 349 additions and 9 deletions

View file

@ -25,6 +25,7 @@ export type AppState = {
elementType: typeof SHAPES[number]["value"];
elementLocked: boolean;
exportBackground: boolean;
shouldAddWatermark: boolean;
currentItemStrokeColor: string;
currentItemBackgroundColor: string;
currentItemFillStyle: string;