scale improvements

This commit is contained in:
Luis Fernando Molina committed 2020-04-01 14:00:14 +02:00
1 parent 42cdc1ba05
commit 6798b4bf0f
6 files changed
+52 -21

No files matched your search

@@ -582,7 +582,7 @@
let digit = record.begin.toFixed(0).substring(7,8)
let positionY = recordPoint3.y - (recordPoint3.y - recordPoint1.y) / 2 + (Number(digit) * 10 - 50)
if (canvas.chartingSpace.viewport.zoomLevel >= ZOOM_OUT_THRESHOLD_FOR_HIDDING_CHARTS_LABELS) {
if (record.triggerOnSituation !== "My Situation") {
if (record.triggerOnSituation !== "New Situation") {
printLabel(record.triggerOnSituation, recordPoint1.x + 5, positionY, '1', 12);
}
}
@@ -522,7 +522,7 @@
let line1 = '';
let line2 = '';
if (line0 === 'My Situation') {
if (line0 === 'New Situation') {
line0 = ''
}