Commit 263b37d0 authored by neil.fraser@gmail.com's avatar neil.fraser@gmail.com

Fix colour field when compiled. Improve hint in Maze:7.

git-svn-id: http://blockly.googlecode.com/svn/trunk@1714 c400ca83-b69d-9dd7-9705-49c6b8615e23
parent 3d4608f4
......@@ -732,8 +732,9 @@ Maze.levelHelp = function() {
}
Maze.levelHelp.initialized7_ = true;
}
if (userBlocks.indexOf('maze_if') == -1 ||
userBlocks.indexOf('isPathForward') != -1) {
// The hint says to change from 'ahead', but keep the hint visible
// until the user chooses 'right'.
if (userBlocks.indexOf('isPathRight') == -1) {
content = document.getElementById('dialogHelpMenu');
style = {width: '360px', top: '400px'};
style[Blockly.RTL ? 'right' : 'left'] = '425px';
......
......@@ -45,7 +45,7 @@ Blockly.FieldColour = function(colour, opt_changeHandler) {
Blockly.FieldColour.superClass_.constructor.call(this, '\u00A0\u00A0\u00A0');
this.changeHandler_ = opt_changeHandler;
this.borderRect_.style.fillOpacity = 1;
this.borderRect_.style['fillOpacity'] = 1;
// Set the initial state.
this.setValue(colour);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment