mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 14:47:58 +01:00
scale x
This commit is contained in:
parent
979c355d9c
commit
0374d0482b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function resizeGraphs() {
|
||||||
const graph: SVGPathElement | null = $<SVGPathElement>('#js-barline-graph', el);
|
const graph: SVGPathElement | null = $<SVGPathElement>('#js-barline-graph', el);
|
||||||
|
|
||||||
if (graph) {
|
if (graph) {
|
||||||
graph.style.transform = `scale(${parent.clientWidth / 375})`;
|
graph.style.transform = `scaleX(${parent.clientWidth / 375})`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue