Skip to content

Commit

Permalink
fix hex mesh preview scale
Browse files Browse the repository at this point in the history
  • Loading branch information
yosoyubik committed Jul 18, 2021
1 parent a4eb95e commit cb6adbd
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ui/src/components/CreateCanvas.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
width="48"
height="44"
stroke="black"
strokeWidth="0.8"
strokeWidth="0.9"
fill="none"
type="hexa" />
<RadioButton type="radio" labelText="Hexagons" value="hexa" />
Expand Down
4 changes: 2 additions & 2 deletions ui/src/components/MeshPreview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
{height}
viewBox={`0 0 128 128`}
style={'margin-right: 5px;'}
transform={'scale(1.2, 1.2)'}>
transform={'scale(2, 2)'}>
<path
d="m 48 57 l 6 -10 l 12 0 l 6 10 l -6 10 l -12 0 l 0 0 t 0 0 l 0 0 m 0 0 l -6 -10 m 24 0 h 12 l 6 10 l -6 10 h -12 l -6 -10 m -12 0 l -6 10 l 6 -10 L 66 67 z M 72 77 L 84 77 L 90 87 L 84 97 L 72 97 L 66 87 L 72 77 Z M 54 67 L 48 57 H 36 L 31 67 L 36 77 L 48 77 L 54 67 Z M 72 57 L 66 47 L 72 37 L 84 37 L 90 47 L 84 57 L 72 57 L 66 47 Z M 48 77 L 54 87 L 66 87 L 72 77 L 66 67 L 54 67 L 48 77 Z"
{stroke}
stroke-width={strokeWidth + 0.5}
stroke-width={strokeWidth}
{fill} />
</svg>
{/if}
1 change: 0 additions & 1 deletion urbit/app/canvas/_app/pages/index.svelte-31d0e51d.js

This file was deleted.

1 change: 1 addition & 0 deletions urbit/app/canvas/_app/pages/index.svelte-a391ec2f.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions urbit/app/canvas/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@



<link rel="modulepreload" href="/~canvas/_app/start-b493547a.js">
<link rel="modulepreload" href="/~canvas/_app/start-ee3631a8.js">
<link rel="modulepreload" href="/~canvas/_app/chunks/vendor-2bc0f3fe.js">
<link rel="stylesheet" href="/~canvas/_app/assets/start-a8cd1609.css">

<script type="module">
import { start } from "/~canvas/_app/start-b493547a.js";
import { start } from "/~canvas/_app/start-ee3631a8.js";
start({
target: document.querySelector("#svelte"),
paths: {"base":"/~canvas","assets":"/~canvas"},
Expand Down

0 comments on commit cb6adbd

Please sign in to comment.