changing new shape property sets it as default (#520)

* changing new shape property sets it as default

* set correct opacity while editing new test

Co-authored-by: Christopher Chedeau <vjeuxx@gmail.com>
This commit is contained in:
lissitz 2020-01-25 18:58:57 +01:00 committed by Christopher Chedeau
parent 69061e20ac
commit 1bae203a78
5 changed files with 41 additions and 8 deletions

View file

@ -13,6 +13,10 @@ export function getDefaultAppState(): AppState {
exportBackground: true,
currentItemStrokeColor: "#000000",
currentItemBackgroundColor: "transparent",
currentItemFillStyle: "hachure",
currentItemStrokeWidth: 1,
currentItemRoughness: 1,
currentItemOpacity: 100,
currentItemFont: "20px Virgil",
viewBackgroundColor: "#ffffff",
scrollX: 0,