invert dev hiding logic
This commit is contained in:
parent
4e3dc29337
commit
2dc16e7362
1 changed files with 6 additions and 2 deletions
|
@ -246,9 +246,9 @@ export default defineComponent({
|
|||
console.info("[SVG] DEBUG mode active, turning on stats & dev panel.");
|
||||
stats = new Stats();
|
||||
document.body.appendChild(stats.dom);
|
||||
} else {
|
||||
|
||||
Array.from(document.body.getElementsByClassName("dev")).forEach((el) => {
|
||||
(el as HTMLElement).style.display = "none";
|
||||
(el as HTMLElement).style.display = "block";
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -473,6 +473,10 @@ function processStart(svg: XMLDocument): SVGRectElement | null {
|
|||
transition: width 0.2s;
|
||||
}
|
||||
|
||||
.dev {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.devpanel {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
|
Loading…
Reference in a new issue