hard drop rotation
This commit is contained in:
@@ -70,6 +70,7 @@ body {
|
|||||||
|
|
||||||
#matrixCard {
|
#matrixCard {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
transform-origin: bottom;
|
||||||
}
|
}
|
||||||
|
|
||||||
#screenRow .card > * {
|
#screenRow .card > * {
|
||||||
@@ -326,6 +327,12 @@ td.trail-animation::after {
|
|||||||
animation: trail-animation ease-out 0.3s;
|
animation: trail-animation ease-out 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes hard-dropped-table-animation {
|
||||||
|
50% {
|
||||||
|
transform: translateY(10px) rotateX(-3deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@keyframes locked-animation {
|
@keyframes locked-animation {
|
||||||
from {
|
from {
|
||||||
--h: 0deg;
|
--h: 0deg;
|
||||||
|
|||||||
@@ -370,7 +370,7 @@ stylesheetSelect.oninput = function (event) {
|
|||||||
.then((json) => {
|
.then((json) => {
|
||||||
json = json.filter((item) => (item.type == "skin" && item.format == "tetrioraster" && /\.(?:png|jpg|jpeg|gif|bmp|webp|svg)$/i.test(item.path)))
|
json = json.filter((item) => (item.type == "skin" && item.format == "tetrioraster" && /\.(?:png|jpg|jpeg|gif|bmp|webp|svg)$/i.test(item.path)))
|
||||||
const groups = Map.groupBy(json, (skin) => skin.author)
|
const groups = Map.groupBy(json, (skin) => skin.author)
|
||||||
const data = groups.entries().map(([author, skins]) => {
|
var data = groups.entries().map(([author, skins]) => {
|
||||||
return {
|
return {
|
||||||
text: author,
|
text: author,
|
||||||
children: skins.map((skin) => {
|
children: skins.map((skin) => {
|
||||||
@@ -388,6 +388,7 @@ stylesheetSelect.oninput = function (event) {
|
|||||||
text: "A forest"
|
text: "A forest"
|
||||||
}]
|
}]
|
||||||
})
|
})
|
||||||
|
data.sort((group1, group2) => group1.text > group2.text)
|
||||||
$('#skinURLSelect').select2({data: data});
|
$('#skinURLSelect').select2({data: data});
|
||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user