Miheev dev #3

Merged
IliaMiheev merged 15 commits from miheev-dev into develop 2026-03-09 19:08:57 +03:00
Showing only changes of commit 80c297d4d0 - Show all commits
+3 -3
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);
clickCount.value++
item['isPlatform'] = true
} }
item['isPlatform'] = true
numbers.value[item.index].BgImg = `images/${color}-platform.jpg` numbers.value[item.index].BgImg = `images/${color}-platform.jpg`
clickCount.value++
} }
function deletePlatform(item) { function deletePlatform(item) {