testing out a different artwork bg, wip

This commit is contained in:
booploops 2022-01-03 18:54:12 -08:00
parent 6ca8fba9e6
commit de74127d33
7 changed files with 12535 additions and 0 deletions

View file

@ -92,6 +92,12 @@
}
},
methods: {
dragStart(evt) {
evt.dataTransfer.setData('text/plain', JSON.stringify({
type: this.item.attributes.playParams.kind ?? this.item.type,
id: this.item.id
}))
},
uuidv4() {
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, c =>
(c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)