Skip to content

Commit

Permalink
BUGFIX: Correctly display string presets
Browse files Browse the repository at this point in the history
The merge order overwrote the object made in the code before
  • Loading branch information
Sebobo committed Jun 9, 2023
1 parent 2c4a194 commit 1a96b80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -63,8 +63,8 @@ export default function makeColorPickerEditor(defaults: ColorPickerOptions) {

this.state = {
...(defaults || {}),
presetColors,
...options,
presetColors,
};
}

Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/ColorPickerEditor/Plugin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Resources/Public/ColorPickerEditor/Plugin.js.map

Large diffs are not rendered by default.

0 comments on commit 1a96b80

Please sign in to comment.