Skip to content

Commit

Permalink
Fix #349: remove readonly for flat question static properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dk981234 committed Nov 13, 2024
1 parent 81e3dd5 commit 26d1c16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/flat_layout/flat_question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export interface IFlatQuestion {
generateFlats(point: IPoint): Promise<IPdfBrick[]>;
}
export class FlatQuestion implements IFlatQuestion {
public static readonly CONTENT_GAP_VERT_SCALE: number = 0.5;
public static readonly CONTENT_GAP_HOR_SCALE: number = 1.0;
public static readonly CONTENT_INDENT_SCALE: number = 1.0;
public static readonly DESC_GAP_SCALE: number = 0.0625;
public static CONTENT_GAP_VERT_SCALE: number = 0.5;
public static CONTENT_GAP_HOR_SCALE: number = 1.0;
public static CONTENT_INDENT_SCALE: number = 1.0;
public static DESC_GAP_SCALE: number = 0.0625;
protected question: Question;
public constructor(protected survey: SurveyPDF,
question: IQuestion, protected controller: DocController) {
Expand Down

0 comments on commit 26d1c16

Please sign in to comment.