mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-65679-master-fix' of git://github.com/andrewnicols/moodle
This commit is contained in:
commit
a6489fabbf
6 changed files with 36 additions and 26 deletions
|
@ -343,9 +343,16 @@ ul.assignfeedback_editpdf_menu {
|
|||
|
||||
.assignfeedback_editpdf_widget .commentdrawable {
|
||||
display: flex;
|
||||
z-index: 50;
|
||||
z-index: 52;
|
||||
height: 0;
|
||||
}
|
||||
.assignfeedback_editpdf_widget .annotation {
|
||||
z-index: 51;
|
||||
}
|
||||
|
||||
.assignfeedback_editpdf_widget .deleteannotationbutton {
|
||||
z-index: 51;
|
||||
}
|
||||
|
||||
.assignfeedback_editpdf_widget .commentdrawable label {
|
||||
display: inline-block;
|
||||
|
|
|
@ -732,7 +732,6 @@ Y.extend(ANNOTATION, Y.Base, {
|
|||
|
||||
drawingregion.append(deletelink);
|
||||
deletelink.setData('annotation', this);
|
||||
deletelink.setStyle('zIndex', '200');
|
||||
|
||||
deletelink.on('click', this.remove, this);
|
||||
deletelink.on('key', this.remove, 'space,enter', this);
|
||||
|
@ -1576,14 +1575,15 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
|||
|
||||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(this.x, this.y));
|
||||
node = Y.Node.create('<div/>');
|
||||
node.addClass('annotation');
|
||||
node.addClass('stamp');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(this.path) + ')',
|
||||
'width': (this.endx - this.x),
|
||||
'height': (this.endy - this.y),
|
||||
'backgroundSize': '100% 100%',
|
||||
'zIndex': 50
|
||||
'backgroundSize': '100% 100%'
|
||||
});
|
||||
|
||||
drawingcanvas.append(node);
|
||||
|
@ -1623,14 +1623,15 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
|||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(bounds.x, bounds.y));
|
||||
|
||||
node = Y.Node.create('<div/>');
|
||||
node.addClass('annotation');
|
||||
node.addClass('stamp');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(edit.stamp) + ')',
|
||||
'width': bounds.width,
|
||||
'height': bounds.height,
|
||||
'backgroundSize': '100% 100%',
|
||||
'zIndex': 50
|
||||
'backgroundSize': '100% 100%'
|
||||
});
|
||||
|
||||
drawingregion.append(node);
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -732,7 +732,6 @@ Y.extend(ANNOTATION, Y.Base, {
|
|||
|
||||
drawingregion.append(deletelink);
|
||||
deletelink.setData('annotation', this);
|
||||
deletelink.setStyle('zIndex', '200');
|
||||
|
||||
deletelink.on('click', this.remove, this);
|
||||
deletelink.on('key', this.remove, 'space,enter', this);
|
||||
|
@ -1576,14 +1575,15 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
|||
|
||||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(this.x, this.y));
|
||||
node = Y.Node.create('<div/>');
|
||||
node.addClass('annotation');
|
||||
node.addClass('stamp');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(this.path) + ')',
|
||||
'width': (this.endx - this.x),
|
||||
'height': (this.endy - this.y),
|
||||
'backgroundSize': '100% 100%',
|
||||
'zIndex': 50
|
||||
'backgroundSize': '100% 100%'
|
||||
});
|
||||
|
||||
drawingcanvas.append(node);
|
||||
|
@ -1623,14 +1623,15 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
|||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(bounds.x, bounds.y));
|
||||
|
||||
node = Y.Node.create('<div/>');
|
||||
node.addClass('annotation');
|
||||
node.addClass('stamp');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(edit.stamp) + ')',
|
||||
'width': bounds.width,
|
||||
'height': bounds.height,
|
||||
'backgroundSize': '100% 100%',
|
||||
'zIndex': 50
|
||||
'backgroundSize': '100% 100%'
|
||||
});
|
||||
|
||||
drawingregion.append(node);
|
||||
|
|
|
@ -212,7 +212,6 @@ Y.extend(ANNOTATION, Y.Base, {
|
|||
|
||||
drawingregion.append(deletelink);
|
||||
deletelink.setData('annotation', this);
|
||||
deletelink.setStyle('zIndex', '200');
|
||||
|
||||
deletelink.on('click', this.remove, this);
|
||||
deletelink.on('key', this.remove, 'space,enter', this);
|
||||
|
|
|
@ -49,14 +49,15 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
|||
|
||||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(this.x, this.y));
|
||||
node = Y.Node.create('<div/>');
|
||||
node.addClass('annotation');
|
||||
node.addClass('stamp');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(this.path) + ')',
|
||||
'width': (this.endx - this.x),
|
||||
'height': (this.endy - this.y),
|
||||
'backgroundSize': '100% 100%',
|
||||
'zIndex': 50
|
||||
'backgroundSize': '100% 100%'
|
||||
});
|
||||
|
||||
drawingcanvas.append(node);
|
||||
|
@ -96,14 +97,15 @@ Y.extend(ANNOTATIONSTAMP, M.assignfeedback_editpdf.annotation, {
|
|||
position = this.editor.get_window_coordinates(new M.assignfeedback_editpdf.point(bounds.x, bounds.y));
|
||||
|
||||
node = Y.Node.create('<div/>');
|
||||
node.addClass('annotation');
|
||||
node.addClass('stamp');
|
||||
node.setStyles({
|
||||
'position': 'absolute',
|
||||
'display': 'inline-block',
|
||||
'backgroundImage': 'url(' + this.editor.get_stamp_image_url(edit.stamp) + ')',
|
||||
'width': bounds.width,
|
||||
'height': bounds.height,
|
||||
'backgroundSize': '100% 100%',
|
||||
'zIndex': 50
|
||||
'backgroundSize': '100% 100%'
|
||||
});
|
||||
|
||||
drawingregion.append(node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue