fabrikantencore 2.40.5 → 2.40.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19470,6 +19470,7 @@ class SVGService {
19470
19470
  Schaal = "2";
19471
19471
  Snede = "";
19472
19472
  Snedes = new Array();
19473
+ MinHeight = 0;
19473
19474
  MinDif = 100;
19474
19475
  ShouldTriggerReload = false;
19475
19476
  constructor(FabrikantenApiClient, sanitization) {
@@ -19526,6 +19527,9 @@ class SVGService {
19526
19527
  if (((Math.abs(this.ViewerWidth - width) > this.MinDif) || (Math.abs(this.ViewerHeight - height) > this.MinDif)) && (width > 0) && (height > 0)) {
19527
19528
  this.ViewerWidth = width;
19528
19529
  this.ViewerHeight = height;
19530
+ if (this.ViewerHeight < this.MinHeight) {
19531
+ this.ViewerHeight = this.MinHeight;
19532
+ }
19529
19533
  if (this.FabrikantenService?.FabrikantenViewModel?.sessionId != null) {
19530
19534
  this.LoadFabrikantenSVGViewModel(this.FabrikantenService.FabrikantenViewModel.sessionId, ChangeDetectorRef);
19531
19535
  }