fix(svg): airdryer A change direction

This commit is contained in:
2026-04-22 12:03:40 +07:00
parent 9000d5da71
commit 55072064e1
3 changed files with 105 additions and 100 deletions

View File

@@ -95,6 +95,11 @@ const handleBoolean = (svg, el, value) => {
return;
}
// balik arah khusus untuk airdryerA
if (dryerIds.slice(0, 2).includes(el.id)) {
value = !value;
}
const i = dryerIds.indexOf(el.id);
const id1 = dryerIds[i - (i % 2)];
const id2 = dryerIds[i - (i % 2) + 1];