Fix keydown on palette

This commit is contained in:
Julia Radzhabova 2022-04-23 19:42:31 +03:00
parent 748877a10d
commit ad74306672

View file

@ -276,6 +276,9 @@ define([
if (child.length==0) {
this.updateCustomColors();
child = el.find('.color-dynamic-' + (this.options.dynamiccolors - 1));
} else {
if (this.options.hideEmptyColors && this._layoutParams) // recalc indexed
this._layoutParams = undefined;
}
child.first().removeClass('dynamic-empty-color').removeClass(this.emptyColorsClass).addClass(this.selectedCls).attr('color', color[1]);