mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
[Editor] Fix the dimensions of the annotation editor layer (follow-up of #16794)
This commit is contained in:
parent
de1f31aae8
commit
400699687e
3 changed files with 19 additions and 5 deletions
|
@ -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 =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue