Merge branch 'MDL-55322-master' of https://github.com/snake/moodle
This commit is contained in:
+1
@@ -2641,6 +2641,7 @@ var COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
|
||||
|
||||
node.on('gesturemovestart', function(e) {
|
||||
if (editor.currentedit.tool === 'select') {
|
||||
e.preventDefault();
|
||||
node.setData('dragging', true);
|
||||
node.setData('offsetx', e.clientX - node.getX());
|
||||
node.setData('offsety', e.clientY - node.getY());
|
||||
|
||||
+4
-4
File diff suppressed because one or more lines are too long
+1
@@ -2641,6 +2641,7 @@ var COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
|
||||
|
||||
node.on('gesturemovestart', function(e) {
|
||||
if (editor.currentedit.tool === 'select') {
|
||||
e.preventDefault();
|
||||
node.setData('dragging', true);
|
||||
node.setData('offsetx', e.clientX - node.getX());
|
||||
node.setData('offsety', e.clientY - node.getY());
|
||||
|
||||
@@ -267,6 +267,7 @@ var COMMENT = function(editor, gradeid, pageno, x, y, width, colour, rawtext) {
|
||||
|
||||
node.on('gesturemovestart', function(e) {
|
||||
if (editor.currentedit.tool === 'select') {
|
||||
e.preventDefault();
|
||||
node.setData('dragging', true);
|
||||
node.setData('offsetx', e.clientX - node.getX());
|
||||
node.setData('offsety', e.clientY - node.getY());
|
||||
|
||||
Reference in New Issue
Block a user