diff --git a/package-lock.json b/package-lock.json index e1493d1..d6d3ddd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4079,6 +4079,16 @@ "integrity": "sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==", "dev": true }, + "bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", + "dev": true, + "optional": true, + "requires": { + "file-uri-to-path": "1.0.0" + } + }, "bl": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/bl/-/bl-4.0.3.tgz", @@ -7207,6 +7217,13 @@ } } }, + "file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "dev": true, + "optional": true + }, "filesize": { "version": "3.6.1", "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", @@ -15753,6 +15770,7 @@ "dev": true, "optional": true, "requires": { + "bindings": "^1.5.0", "nan": "^2.12.1" } }, @@ -16469,6 +16487,7 @@ "dev": true, "optional": true, "requires": { + "bindings": "^1.5.0", "nan": "^2.12.1" } }, diff --git a/quasar.conf.js b/quasar.conf.js index b43d75c..b147396 100644 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -80,7 +80,8 @@ module.exports = function (ctx) { // Quasar plugins plugins: [ - 'Notify' + 'Notify', + 'LocalStorage' ] }, diff --git a/src/components/AddAssets.vue b/src/components/AddAssets.vue index 44debdc..ad7707d 100644 --- a/src/components/AddAssets.vue +++ b/src/components/AddAssets.vue @@ -39,6 +39,7 @@ :ratio="16 / 9" :src="asset.url" @click="asset.isSelected = !asset.isSelected" + contain basic>
diff --git a/src/components/Camera.vue b/src/components/Camera.vue index f002e20..ced6925 100644 --- a/src/components/Camera.vue +++ b/src/components/Camera.vue @@ -97,6 +97,11 @@ export default { }) } }, + beforeDestroy () { + this.$refs.video.pause() + this.$refs.video.src = '' + this.$refs.video.srcObject.getTracks()[0].stop() + }, methods: { /** * Capture the image diff --git a/src/components/dialogs/AssetsManager.vue b/src/components/dialogs/AssetsManager.vue index 994eb54..bf6ad24 100644 --- a/src/components/dialogs/AssetsManager.vue +++ b/src/components/dialogs/AssetsManager.vue @@ -33,7 +33,7 @@ input[type='file'] :key="index" class="card col-2 q-ma-md" > - +
@@ -133,6 +136,8 @@ class="q-ma-md bg-white" :value="tab.hexColor" @input="setHexColor" + @keyup.enter="$event.target.blur()" + @blur="onSaveTabElement('couleur')" filled >