Renamed UsedColorsService to CurrentColorsService + exposed getCurrentColors explicitly

This commit is contained in:
jdescottes
2014-05-08 22:11:16 +02:00
parent 453fbcf88e
commit 94ce3907da
4 changed files with 14 additions and 8 deletions

View File

@@ -64,7 +64,7 @@
var colors = [];
var paletteId = this.colorPaletteSelect_.value;
if (paletteId === Constants.CURRENT_COLORS_PALETTE_ID) {
colors = this.usedColorService.currentColors;
colors = this.usedColorService.getCurrentColors();
} else {
var palette = this.getPaletteById(paletteId, this.retrievePalettes());
if (palette) {