Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelzoom committed Mar 4, 2024
2 parents dfb337f + dbd87cd commit 2a2b13f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/sampling/model/SamplingModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,11 @@ model.phase = ${this.phaseProperty.value}` );
*/
public override reset(): void {
super.reset();

// After the parent type changes the field, it sets the sampleSizeProperty and launcher associated with that field.
// Therefore, we must reset these last, so they will determine the field correctly.
this.sampleSizeProperty.reset();
this.fieldProperty.value.reset();
this.launcherProperty.reset();
}
}

Expand Down

0 comments on commit 2a2b13f

Please sign in to comment.