Develop #5

Merged
IliaMiheev merged 19 commits from develop into master 2026-03-09 19:14:27 +03:00
Showing only changes of commit 80c297d4d0 - Show all commits
+4 -4
View File
@@ -140,13 +140,13 @@ function handleDownloadBtn() {
} }
function createPlatform(item, color) { function createPlatform(item, color) {
if (!item.isPlatform) { if (!item.isPlatform && item.variable.at(-1) !== clickCount.value - 1) {
listOfTrips.value.push(item) listOfTrips.value.push(item)
numbers.value[item.index].variable.push(clickCount.value); numbers.value[item.index].variable.push(clickCount.value);
}
item['isPlatform'] = true
numbers.value[item.index].BgImg = `images/${color}-platform.jpg`
clickCount.value++ clickCount.value++
item['isPlatform'] = true
}
numbers.value[item.index].BgImg = `images/${color}-platform.jpg`
} }
function deletePlatform(item) { function deletePlatform(item) {