Skip to content

Commit

Permalink
Merge pull request #8185 from surveyjs/bug/C5433-progress-bar-position
Browse files Browse the repository at this point in the history
Work for surveyjs/survey-creator#5433 - [Survey creator] Weird behaviour of the 'Progress bar alignment' dropdown
  • Loading branch information
andrewtelnov authored Apr 26, 2024
2 parents 95eb0b0 + 58b5543 commit c4f95d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6584,7 +6584,7 @@ export class SurveyModel extends SurveyElementCore
* @param locNotification For internal use.
* @see getComment
*/
public setComment(name: string, newValue: string, locNotification: any = false):void {
public setComment(name: string, newValue: string, locNotification: any = false): void {
if (!newValue) newValue = "";
if (this.isTwoValueEquals(newValue, this.getComment(name))) return;
var commentName = name + this.commentSuffix;
Expand Down Expand Up @@ -6642,7 +6642,7 @@ export class SurveyModel extends SurveyElementCore
return this.clearInvisibleValues;
}
questionVisibilityChanged(question: Question, newValue: boolean, resetIndexes: boolean): void {
if(resetIndexes) {
if (resetIndexes) {
this.updateVisibleIndexes();
}
this.onQuestionVisibleChanged.fire(this, {
Expand Down Expand Up @@ -7808,7 +7808,7 @@ Serializer.addClass("survey", [
{
name: "showProgressBar",
default: "off",
choices: ["off", "auto", "aboveHeader", "belowHeader", "bottom", "topBottom"],
choices: ["off", "auto", "aboveheader", "belowheader", "bottom", "topbottom"],
},
{
name: "progressBarType",
Expand Down

0 comments on commit c4f95d3

Please sign in to comment.