Skip to content

Commit

Permalink
Fix initial layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ty-v1 committed Feb 5, 2019
1 parent 0a8d1bb commit 1166596
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/store/LayoutStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ const mutations = {
state.viewBox = {
minX: 0,
minY: 0,
width: svgWidth,
height: svgHeight
width: payload.content.width,
height: payload.content.height
};
},

Expand All @@ -93,8 +93,8 @@ const mutations = {
state.viewBox = {
minX: 0,
minY: 0,
width: svgWidth,
height: svgHeight
width: payload.content.width,
height: payload.content.height
};
},

Expand Down

0 comments on commit 1166596

Please sign in to comment.