mac bug fixed

This commit is contained in:
Luis Fernando Molina committed 2020-03-27 17:42:20 +01:00
1 parent 50f66656b2
commit ae653d96b9
4 files changed
+16 -3

No files matched your search

@@ -580,8 +580,10 @@
/* Situation Name */
let digit = record.begin.toFixed(0).substring(7,8)
let positionY = recordPoint3.y - (recordPoint3.y - recordPoint1.y) / 2 + (Number(digit) * 10 - 50)
printLabel(record.triggerOnSituation, recordPoint1.x + 5, positionY , '1', 12);
let positionY = recordPoint3.y - (recordPoint3.y - recordPoint1.y) / 2 + (Number(digit) * 10 - 50)
if (record.triggerOnSituation !== "My Situation") {
printLabel(record.triggerOnSituation, recordPoint1.x + 5, positionY, '1', 12);
}
/* Draw the Sticks */
@@ -522,6 +522,10 @@
let line1 = '';
let line2 = '';
if (line0 === 'My Situation') {
line0 = ''
}
if (record.status === 1) {
switch (record.exitType) {
case 1: {