Fix reverting to mouse cursor auto icon after clicking Draggable object
This commit is contained in:
@@ -62,3 +62,9 @@ $draggable-widget-z-index = 2
|
|||||||
background-color: $primary-active-color
|
background-color: $primary-active-color
|
||||||
box-shadow(inset 1px 2px 1px $primary-inset-shadow-color)
|
box-shadow(inset 1px 2px 1px $primary-inset-shadow-color)
|
||||||
color: $white-color
|
color: $white-color
|
||||||
|
|
||||||
|
.mailpoet_droppable_block
|
||||||
|
cursor: move
|
||||||
|
|
||||||
|
&.mailpoet_ignore_drag
|
||||||
|
cursor: auto
|
||||||
|
@@ -114,6 +114,7 @@ define([
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.preventDefault('auto')
|
.preventDefault('auto')
|
||||||
|
.styleCursor(false)
|
||||||
.actionChecker(function (pointer, event, action) {
|
.actionChecker(function (pointer, event, action) {
|
||||||
// Disable dragging with right click
|
// Disable dragging with right click
|
||||||
if (event.button !== 0) {
|
if (event.button !== 0) {
|
||||||
|
Reference in New Issue
Block a user