Bug Fixed

This commit is contained in:
Luis Fernando Molina committed 2020-03-19 16:03:04 +01:00
1 parent 8033226721
commit a77aead19d
3 files changed
+12 -3

No files matched your search

+1 -1
View File
@@ -4953,7 +4953,7 @@
"config": true
},
"initialValues": {
"code": "{ \n\"codeName\": \"Write here the name of the market as it is defined at the CCXT library.\"\n}"
"code": "{ \n\"codeName\": \"Write here the name of the market.\"\n}"
},
"chainAttachesTo": {
"compatibleTypes": "->Exchange Markets->"
+6
View File
@@ -616,6 +616,12 @@ function newCanvas () {
containerDragStarted = true
floatingObjectDragStarted = true
containerBeingDragged.eventHandler.raiseEvent('onDragStarted', point)
if (event.candelDragging === true) {
containerBeingDragged = undefined
containerDragStarted = false
floatingObjectDragStarted = false
}
return
}
+5 -2
View File
@@ -140,10 +140,13 @@ function newFloatingSpace () {
function onDragStarted (event) {
if (thisObject.inMapMode === false) {
if (event.buttons !== 2) { return }
event.candelDragging = true
enterMapMode()
} else {
if (event.buttons !== 1) { return }
if (event.buttons !== 1) {
event.candelDragging = true
return
}
let mousePosition = {
x: event.x,