bug fixed
This commit is contained in:
1 parent
18333a1a4e
commit
82f6e08467
2 files changed
+11
-2
No files matched your search
@@ -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