Fix
Co-authored-by: Maximilian Krög <maxi_kroeg@web.de>
This commit is contained in:
parent
a1e8e429b0
commit
5d6f27f6ed
@ -1145,15 +1145,15 @@ input#auto_increment_opt {
|
||||
box-sizing: content-box;
|
||||
resize: vertical;
|
||||
|
||||
svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target-svg {
|
||||
>svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.button {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
|
||||
@ -1410,15 +1410,15 @@ input#auto_increment_opt {
|
||||
box-sizing: content-box;
|
||||
resize: vertical;
|
||||
|
||||
svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target-svg {
|
||||
>svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.button {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
|
||||
@ -1152,15 +1152,15 @@ input#auto_increment_opt {
|
||||
box-sizing: content-box;
|
||||
resize: vertical;
|
||||
|
||||
svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target-svg {
|
||||
>svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.button {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
|
||||
@ -1351,15 +1351,15 @@ input#auto_increment_opt {
|
||||
box-sizing: content-box;
|
||||
resize: vertical;
|
||||
|
||||
svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.visualization-target-svg {
|
||||
>svg {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.button {
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
|
||||
@ -121,8 +121,8 @@ class SvgVisualization extends GisVisualization {
|
||||
super(target);
|
||||
|
||||
this.svgEl = $(this.target).find('svg').get(0);
|
||||
this.originalWidth = $(this.svgEl).width();
|
||||
this.originalHeight = $(this.svgEl).height();
|
||||
this.originalWidth = Number(this.svgEl.getAttribute('width'));
|
||||
this.originalHeight = Number(this.svgEl.getAttribute('height'));
|
||||
this.width = this.originalWidth;
|
||||
this.height = this.originalHeight;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user