Skip to content

Commit

Permalink
Try to fix vue3 visual test
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Jan 19, 2025
1 parent 87537e4 commit 975d8a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/survey-core/src/question_rating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ export class QuestionRatingModel extends Question {
QuestionRatingModel.goodColorLight = getRGBColor("--sjs-special-green-light", "--sd-rating-good-color-light");

this.colorsCalculated = true;
this.resetRenderedItems();
}

protected getDisplayValueCore(keysAsText: boolean, value: any): any {
Expand Down Expand Up @@ -910,7 +911,6 @@ export class QuestionRatingModel extends Question {
public themeChanged(theme: ITheme): void {
this.colorsCalculated = false;
this.updateColors(theme.cssVariables);
this.resetRenderedItems();
}
public setSurveyImpl(value: ISurveyImpl, isLight?: boolean) {
super.setSurveyImpl(value, isLight);
Expand Down

0 comments on commit 975d8a6

Please sign in to comment.