Compare commits
7 Commits
11071a5972
...
b77a429568
Author | SHA1 | Date | |
---|---|---|---|
b77a429568 | |||
6ecfded408 | |||
7224d8fb66 | |||
f5f0ee07a4 | |||
e945efaa3c | |||
263e8ba535 | |||
0f31f2556c |
4343
package-lock.json
generated
4343
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -12,10 +12,10 @@
|
|||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vitejs/plugin-vue": "^3.2.0",
|
"@vitejs/plugin-vue": "3.2.0",
|
||||||
"install": "^0.13.0",
|
"install": "0.13.0",
|
||||||
"pinia": "^2.0.27",
|
"pinia": "2.0.27",
|
||||||
"vite": "^3.2.4",
|
"vite": "^3.2.10",
|
||||||
"vue": "3.2"
|
"vue": "3.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scope>
|
<style>
|
||||||
:root {
|
:root {
|
||||||
--dark1: #000000;
|
--dark1: #000000;
|
||||||
--dark2: #333333;
|
--dark2: #333333;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
const updateCanvasHeight = (event) => {
|
const updateCanvasHeight = (event) => {
|
||||||
const elem = event.target;
|
const elem = event.target;
|
||||||
store.renderer.resize(elem.value, store.renderer.width);
|
store.renderer.resize(store.renderer.width, elem.value);
|
||||||
};
|
};
|
||||||
|
|
||||||
const updateCanvasWidth = (event) => {
|
const updateCanvasWidth = (event) => {
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="form-field">
|
<div class="reset-menu">
|
||||||
<div class="form-field">
|
<div class="form-field">
|
||||||
<label>
|
<label>
|
||||||
Loop
|
loop
|
||||||
<input
|
<input
|
||||||
:value="store.loop"
|
:value="store.loop"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
type="button"
|
type="button"
|
||||||
name="next"
|
name="next"
|
||||||
class="next"
|
class="next"
|
||||||
value="Next"
|
value="next"
|
||||||
@click="store.toggleNext()"
|
@click="store.toggleNext()"
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
@ -42,9 +42,9 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.form-field {
|
.reset-menu {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin: 5px;
|
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
padding: 5px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -35,7 +35,7 @@ export const globalStore = defineStore("globalStore", {
|
|||||||
picture: new Image(),
|
picture: new Image(),
|
||||||
mainMenu: false,
|
mainMenu: false,
|
||||||
activeSubMenu: "",
|
activeSubMenu: "",
|
||||||
loop: false,
|
loop: true,
|
||||||
lastAction: "drawfromlast",
|
lastAction: "drawfromlast",
|
||||||
renderer: new Renderer(),
|
renderer: new Renderer(),
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user