Change Button Position

This commit is contained in:
Luis Fernando Molina committed 2018-06-26 10:29:24 +02:00
1 parent 7ecb49b166
commit e293f2368b
1 file changed
+5 -1
+5 -1
View File
@@ -15,7 +15,7 @@ function newDeleteTradingHistory() {
thisObject.container.frame.width = 150;
thisObject.container.frame.height = BOTTOM_SPACE_HEIGHT;
container.frame.position.x = 0;
container.frame.position.x = viewPort.visibleArea.topRight.x;
container.frame.position.y = viewPort.visibleArea.bottomLeft.y;
container.isDraggeable = false;
@@ -44,6 +44,8 @@ function newDeleteTradingHistory() {
function onClick() {
if (window.CURRENT_BOT_DISPLAY_NAME === "") { return; }
/*
To delete the trading history we will follow these steps:
@@ -254,6 +256,8 @@ function newDeleteTradingHistory() {
function draw() {
if (window.CURRENT_BOT_DISPLAY_NAME === "") { return; }
thisObject.container.frame.draw(false, false);
if (canDrawIcon === false) { return; }