Change Button Position
This commit is contained in:
1 parent
7ecb49b166
commit
e293f2368b
1 file changed
+5
-1
@@ -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; }
|
||||
|
||||
Reference in new issue
Block a user