Skip to content

Commit

Permalink
MDL-47494 ddmarker: NOBUG increase opacity of marker text to 0.6 to m…
Browse files Browse the repository at this point in the history
…ake them more readable
  • Loading branch information
jamiepratt committed Nov 16, 2011
1 parent a365808 commit 457c35b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion question/type/ddmarker/yui/dd/dd.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ YUI.add('moodle-qtype_ddmarker-dd', function(Y) {
drag.removeClass('draghome');
drag.addClass('dragitem');
drag.addClass('item'+ itemno);
drag.one('span.markertext').setStyle('opacity', 0.5);
drag.one('span.markertext').setStyle('opacity', 0.6);
draghome.insert(drag, 'after');
if (!this.get('readonly')) {
this.draggable(drag);
Expand Down
2 changes: 1 addition & 1 deletion question/type/ddmarker/yui/form/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ YUI.add('moodle-qtype_ddmarker-form', function(Y) {
if (xyfortext !== null) {
var markerspan = Y.one('div.ddarea div.markertexts span.markertext'+dropzoneno);
if (markerspan !== null) {
markerspan.setStyle('opacity', '0.4');
markerspan.setStyle('opacity', '0.6');
xyfortext[0] -= Math.round(markerspan.get('offsetWidth') / 2);
xyfortext[1] -= Math.round(markerspan.get('offsetHeight') / 2);
markerspan.setXY(this.convert_to_window_xy(xyfortext));
Expand Down

0 comments on commit 457c35b

Please sign in to comment.