Skip to content

Commit

Permalink
Re #166: Unset fullColor on palette selection.
Browse files Browse the repository at this point in the history
If no color is set, then fullColor mode is ignored, by design.
Selecting a palette color should then unset the mode, to avoid
surprisingly "switching" to fullColor mode (which has been active
all along) by selecting a color.
  • Loading branch information
cburschka committed Apr 29, 2015
1 parent 8e75db0 commit 9a8fe46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/core/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ var ui = {
}
else if (ui.colorPicker == 'setting') {
$('#textColor').mouseup();
config.settings.fullColor = false;
$('#settings-textColor').val(this.title).change();
}
});
Expand Down

0 comments on commit 9a8fe46

Please sign in to comment.