Skip to content

Commit

Permalink
MDL-47494 ddmarker: NOBUG centering marker text.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiepratt committed Oct 29, 2011
1 parent 64b3d6e commit 4b549f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions question/type/ddmarker/yui/form/form.js
Expand Up @@ -87,6 +87,7 @@ YUI.add('moodle-qtype_ddmarker-form', function(Y) {
}
var markerspan = Y.one('div.ddarea div.markertexts span.markertext'+dropzoneno);
markerspan.setStyle('opacity', '0.6');
xyfortext[1] -= Math.round(markerspan.get('offsetHeight') / 2);
markerspan.setXY(this.convert_to_window_xy(xyfortext));
}
}
Expand Down

0 comments on commit 4b549f0

Please sign in to comment.