Fix reverting to mouse cursor auto icon after clicking Draggable object

This commit is contained in:
Tautvidas Sipavičius
2017-07-05 19:26:33 +03:00
parent 54cb838d71
commit 29a2af2555
2 changed files with 7 additions and 0 deletions

View File

@@ -62,3 +62,9 @@ $draggable-widget-z-index = 2
background-color: $primary-active-color
box-shadow(inset 1px 2px 1px $primary-inset-shadow-color)
color: $white-color
.mailpoet_droppable_block
cursor: move
&.mailpoet_ignore_drag
cursor: auto

View File

@@ -114,6 +114,7 @@ define([
},
})
.preventDefault('auto')
.styleCursor(false)
.actionChecker(function (pointer, event, action) {
// Disable dragging with right click
if (event.button !== 0) {