Bug Fixed
This commit is contained in:
1 parent
8033226721
commit
a77aead19d
3 files changed
+12
-3
No files matched your search
+1
-1
@@ -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->"
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user