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"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vitejs/plugin-vue": "^3.2.0",
|
||||
"install": "^0.13.0",
|
||||
"pinia": "^2.0.27",
|
||||
"vite": "^3.2.4",
|
||||
"@vitejs/plugin-vue": "3.2.0",
|
||||
"install": "0.13.0",
|
||||
"pinia": "2.0.27",
|
||||
"vite": "^3.2.10",
|
||||
"vue": "3.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -50,7 +50,7 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scope>
|
||||
<style>
|
||||
:root {
|
||||
--dark1: #000000;
|
||||
--dark2: #333333;
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
const updateCanvasHeight = (event) => {
|
||||
const elem = event.target;
|
||||
store.renderer.resize(elem.value, store.renderer.width);
|
||||
store.renderer.resize(store.renderer.width, elem.value);
|
||||
};
|
||||
|
||||
const updateCanvasWidth = (event) => {
|
||||
|
@ -5,10 +5,10 @@
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="form-field">
|
||||
<div class="reset-menu">
|
||||
<div class="form-field">
|
||||
<label>
|
||||
Loop
|
||||
loop
|
||||
<input
|
||||
:value="store.loop"
|
||||
type="checkbox"
|
||||
@ -21,7 +21,7 @@
|
||||
type="button"
|
||||
name="next"
|
||||
class="next"
|
||||
value="Next"
|
||||
value="next"
|
||||
@click="store.toggleNext()"
|
||||
/>
|
||||
<input
|
||||
@ -42,9 +42,9 @@
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.form-field {
|
||||
.reset-menu {
|
||||
display: flex;
|
||||
margin: 5px;
|
||||
justify-content: flex-end;
|
||||
padding: 5px;
|
||||
}
|
||||
</style>
|
||||
|
@ -35,7 +35,7 @@ export const globalStore = defineStore("globalStore", {
|
||||
picture: new Image(),
|
||||
mainMenu: false,
|
||||
activeSubMenu: "",
|
||||
loop: false,
|
||||
loop: true,
|
||||
lastAction: "drawfromlast",
|
||||
renderer: new Renderer(),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user