Skip to content

Commit

Permalink
Merge pull request #242 from evt-project/bugfix/no_recompiling_for_cu…
Browse files Browse the repository at this point in the history
…stom_css

Bugfix/no recompiling for custom css
  • Loading branch information
RenatoCaenaro authored Oct 2, 2024
2 parents 81dc871 + 8635afb commit bc94eef
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export interface EditionConfig {
}>;
startingFromDefinitiveLayer: boolean;
defaultImageZoomLevel: number;
maxImageZoomLevel: number;
showSubstitutionMarker: boolean;
multiPageEngineForCriticalEdition: boolean;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/osd/osd.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class OsdComponent implements AfterViewInit, OnDestroy {
const commonOptions = {
visibilityRatio: 0.66,
minZoomLevel: 0.3,
maxZoomLevel: 1,
maxZoomLevel: AppConfig.evtSettings.edition.maxImageZoomLevel,
defaultZoomLevel: AppConfig.evtSettings.edition.defaultImageZoomLevel,
sequenceMode: true,
prefixUrl: 'assets/osd/images/',
Expand Down
1 change: 1 addition & 0 deletions src/assets/config/edition_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,6 @@
}
},
"defaultImageZoomLevel": 0.8,
"maxImageZoomLevel": 2,
"multiPageEngineForCriticalEdition": false
}
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<base href="./">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="assets/config/custom-styles.css">
</head>
<body>
<evt-root></evt-root>
Expand Down
1 change: 0 additions & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
@import "./assets/scss/themes";
@import "./assets/scss/mixins";
@import "./assets/scss/bootstrapOverrides";
@import "./assets/config/custom-styles.css";

@font-face {
font-family: "Junicode";
Expand Down

0 comments on commit bc94eef

Please sign in to comment.