Skip to content

Commit

Permalink
Fixes to latest improvements on (bg)color tunes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nigel2392 committed May 15, 2024
1 parent 95a2d3f commit 4a278b1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class BaseWagtailColorTune {
});

if (this.constructor[`defaultColor${this.constructor.name}`] && !this.data.color) {
this.data.color = this.constructor[`defaultColor${this.constructor.name}`];
this.onChange({
color: this.constructor[`defaultColor${this.constructor.name}`],
stretched: this.data.stretched,
Expand Down

0 comments on commit 4a278b1

Please sign in to comment.