Skip to content

Commit

Permalink
Merge pull request #20 from CTHDRL/sander
Browse files Browse the repository at this point in the history
Sander
  • Loading branch information
SaFrMo committed Oct 4, 2021
2 parents ab2a703 + 6de36a5 commit cde0285
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "canvas-everything",
"version": "0.1.7",
"version": "0.1.8",
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
Expand Down
4 changes: 2 additions & 2 deletions src/App.vue
Expand Up @@ -12,7 +12,7 @@
igitur, cum de re conveniat, non malumus usitate loqui? Quae cum
dixisset paulumque institisset, Quid est?
</p>
<div class="image-padding" :style="{ '--aspect': 1 }">
<div class="image-sizer">
<img src="//placekitten.com/250/250" v-canvas />
</div>
<h2 v-canvas>Another Title</h2>
Expand Down Expand Up @@ -62,7 +62,7 @@
background: blue;
}
.image-padding {
.image-sizer {
height: 250px;
}
Expand Down
4 changes: 2 additions & 2 deletions src/canvas-everything/index.ts
Expand Up @@ -3,7 +3,7 @@ import { setupDom } from './core'

// import components
import MainCanvas from './components/MainCanvas.vue'
import CanvasText from './components/CanvasText.vue'
// import CanvasText from './components/CanvasText.vue'
// import directives
import { directive } from './directive'

Expand All @@ -14,7 +14,7 @@ export const canvasEverything: Plugin = {

// register components
app.component('MainCanvas', MainCanvas)
app.component('CanvasText', CanvasText)
// app.component('CanvasText', CanvasText)
// register directives
app.directive('canvas', directive)

Expand Down

0 comments on commit cde0285

Please sign in to comment.