[Editor] Fix the dimensions of the annotation editor layer (follow-up of #16794)

This commit is contained in:
Calixte Denizet 2023-08-06 21:05:49 +02:00
parent de1f31aae8
commit 400699687e
3 changed files with 19 additions and 5 deletions

View file

@ -625,6 +625,14 @@ class FeatureTest {
isMac: navigator.platform.includes("Mac"),
});
}
static get isCSSRoundSupported() {
return shadow(
this,
"isCSSRoundSupported",
globalThis.CSS?.supports?.("width: round(1.5px, 1px)")
);
}
}
const hexNumbers = [...Array(256).keys()].map(n =>