DmitrMakeev
commited on
Commit
•
82a4199
1
Parent(s):
76f2705
Update koleso.html
Browse files- koleso.html +1 -1
koleso.html
CHANGED
@@ -127,7 +127,7 @@ function drawSector(sector, i) {
|
|
127 |
function rotate() {
|
128 |
const sector = sectors[getIndex()]
|
129 |
ctx.canvas.style.transform = `rotate(${ang - PI / 2}rad)`
|
130 |
-
spinEl.textContent = !angVel ? '
|
131 |
spinEl.style.background = sector.color
|
132 |
}
|
133 |
|
|
|
127 |
function rotate() {
|
128 |
const sector = sectors[getIndex()]
|
129 |
ctx.canvas.style.transform = `rotate(${ang - PI / 2}rad)`
|
130 |
+
spinEl.textContent = !angVel ? 'ПУСК' : sector.label
|
131 |
spinEl.style.background = sector.color
|
132 |
}
|
133 |
|