More fine tunning

This commit is contained in:
Luis Fernando Molina committed 2020-01-16 14:12:36 +01:00
1 parent b2a0fbab96
commit 0a9dd38786
6 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ UI_FONT = {
SECONDARY: "Source Code Pro"
};
let FONT_ASPECT_RATIO = 0.35;
let FONT_ASPECT_RATIO = 0.32;
const MIN_ZOOM_LEVEL = -28.25
const GET_CONTAINER_PURPOSE = {
+6 -6
View File
@@ -28,8 +28,8 @@ function newProductsPanel () {
let panelTabButton
let visible = true
let heatherHeight = 50
let footerHeight = 15
let heatherHeight = 40
let footerHeight = 10
let layerHeight = 70
let desiredVisibleLayers = 5
let posibleVisibleLayers = 5
@@ -346,11 +346,11 @@ function newProductsPanel () {
roundedCornersBackground(params)
drawLabel(label1, 1 / 2, 0, 0, 20, 10, thisObject.container)
drawLabel(label2, 1 / 2, 0, 0, 40, 10, thisObject.container)
drawLabel(label1, 1 / 2, 0, 0, 15, 10, thisObject.container)
drawLabel(label2, 1 / 2, 0, 0, 30, 10, thisObject.container)
drawIcon(icon1, 1 / 8, 0, 0, 30, 30, thisObject.container)
drawIcon(icon2, 7 / 8, 0, 0, 30, 30, thisObject.container)
drawIcon(icon1, 1 / 8, 0, 0, 20, 35, thisObject.container)
drawIcon(icon2, 7 / 8, 0, 0, 20, 35, thisObject.container)
}
function drawScrollBar () {
+5 -5
View File
@@ -21,12 +21,12 @@ function drawScaleDisplay (label1, label2, label3, xExtraOffSet1, xExtraOffSet2,
label2 = label2.substring(0, 20)
label3 = label3.substring(0, 20)
drawLabel(label1, 1 / 2, 4 / 5, 0, 0, 10, container)
drawLabel(label2, 1 / 2, 2 / 5, 0, 0, 20, container)
drawLabel(label3, 1 / 2, 3 / 5, 0, 0, 10, container)
drawLabel(label1, 1 / 2, 92 / 100, 0, 0, 10, container)
drawLabel(label2, 1 / 2, 42 / 100, 0, 0, 18, container)
drawLabel(label3, 1 / 2, 67 / 100, 0, 0, 10, container)
drawIcon(icon1, 1 / 8, 1 / 2, 0, 0, 30, container)
drawIcon(icon2, 7 / 8, 1 / 2, 0, 0, 30, container)
drawIcon(icon1, 1 / 8, 1 / 2, 0, 0, 35, container)
drawIcon(icon2, 7 / 8, 1 / 2, 0, 0, 35, container)
}
function drawScaleDisplayCover (container) {
+1 -1
View File
@@ -29,7 +29,7 @@ function newRateScale () {
thisObject.container.detectMouseOver = true
thisObject.container.frame.width = UI_PANEL.WIDTH.NORMAL
thisObject.container.frame.height = 50
thisObject.container.frame.height = 40
let visible = true
let isMouseOver
+1 -1
View File
@@ -55,7 +55,7 @@ function newTimeFrameScale () {
thisObject.container.detectMouseOver = true
thisObject.container.frame.width = UI_PANEL.WIDTH.NORMAL
thisObject.container.frame.height = 50
thisObject.container.frame.height = 40
}
function finalize () {
+1 -1
View File
@@ -28,7 +28,7 @@ function newTimeScale () {
thisObject.container.detectMouseOver = true
thisObject.container.frame.width = UI_PANEL.WIDTH.NORMAL
thisObject.container.frame.height = 50
thisObject.container.frame.height = 40
let visible = true
let isMouseOver