diff --git a/BottomSpace/ChartAspectRatio.js b/BottomSpace/ChartAspectRatio.js index 21f06452e..0ea3b02c2 100644 --- a/BottomSpace/ChartAspectRatio.js +++ b/BottomSpace/ChartAspectRatio.js @@ -14,7 +14,7 @@ thisObject.container.frame.width = 50; thisObject.container.frame.height = BOTTOM_SPACE_HEIGHT; - container.frame.position.x = viewPort.visibleArea.topRight.x - thisObject.container.frame.width * 2; + container.frame.position.x = viewPort.visibleArea.topRight.x - thisObject.container.frame.width ; container.frame.position.y = viewPort.visibleArea.bottomLeft.y; container.isDraggeable = false; @@ -44,7 +44,7 @@ canDrawIcon = true; } - icon.src = "Images/scale.y.png"; + icon.src = "Images/aspect.ratio.Y.png"; thisObject.container.eventHandler.listenToEvent('Mouse Wheel', onMouseWheel); @@ -104,7 +104,7 @@ let breakpointsHeight = 15; let imageHeight = 30; - let imageWidth = 15; + let imageWidth = 30; let imagePoint = { x: 10, diff --git a/Images/aspect.ratio.Y.png b/Images/aspect.ratio.Y.png new file mode 100644 index 000000000..f5a4ce7d4 Binary files /dev/null and b/Images/aspect.ratio.Y.png differ diff --git a/Images/scale.y.png b/Images/scale.y.png deleted file mode 100644 index 3cc07879c..000000000 Binary files a/Images/scale.y.png and /dev/null differ