Skip to content

Commit

Permalink
fixed syntax build
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefterv committed Jan 15, 2021
1 parent 276f5c3 commit a0a7c64
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions pages/figma/prepare/settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,17 @@
<div
class="orientation"
@click="setPortrait(true)"
:class="{
active: (isPortrait =
options.paperSize.size.x < options.paperSize.size.y),
canvas: (isCanvasPortrait =
:isPortrait="
(isPortrait = options.paperSize.size.x < options.paperSize.size.y)
"
:isCanvasPortrait="
(isCanvasPortrait =
parseInt(state.svg.attributes.width.value) <
parseInt(state.svg.attributes.height.value)),
parseInt(state.svg.attributes.height.value))
"
:class="{
active: isPortrait,
canvas: isCanvasPortrait,
}"
:title="
(title =
Expand Down Expand Up @@ -154,7 +159,7 @@
class="icon icon--warning"
v-if="!options.cropToMargins"
:title="
'Turning off crop to margins might cause the axidraw to draw outside it\'s range.\nTip: turn on crop to margins but set the margin to 0'
`Turning off crop to margins might cause the axidraw to draw outside it\'s range.\nTip: turn on crop to margins but set the margin to 0`
"
></div>
</div>
Expand Down

0 comments on commit a0a7c64

Please sign in to comment.