Recalculate viewport activated
This commit is contained in:
1 parent
c4138e4fd7
commit
d3a263a1c7
2 files changed
+1
-12
No files matched your search
Binary file not shown.
+1
-12
@@ -50,19 +50,8 @@
|
||||
|
||||
recalculateScale();
|
||||
|
||||
// From here old code...
|
||||
|
||||
|
||||
//recalculateCandlesUsingDailyFiles(true); // We need the first day of candles so as to see which is going to be the center of the viewport.
|
||||
|
||||
|
||||
// if (marketId === INITIAL_DEFAULT_MARKET) { // For now, lets position the view port at the market USDT/BTC
|
||||
|
||||
// postitionViewPort();
|
||||
|
||||
// }
|
||||
|
||||
recalculateCandles();
|
||||
postitionViewPort();
|
||||
|
||||
viewPort.eventHandler.listenToEvent("Zoom Changed", onZoomChanged);
|
||||
canvas.eventHandler.listenToEvent("Drag Finished", onDragFinished);
|
||||
|
||||
Reference in new issue
Block a user