aboutsummaryrefslogtreecommitdiff
path: root/ext/data
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2022-09-20 21:06:39 -0400
committerGitHub <noreply@github.com>2022-09-20 21:06:39 -0400
commit480869c3d1d820b344d23989d2deae64a594869e (patch)
treebc1d0c5143b71e312322e3dc851cb2c98050b8c6 /ext/data
parentac373a67944a3241f96091b2bcd94f1b337a3940 (diff)
Exclude documentElement from zoom calculation (#2227)
* Exclude documentElement from zoom calculation * Add an option * Refactor zoom coordinate conversion functions * Convert zoom coordinates for text sources * Rename variable * Convert rect coordinate spaces * Handle shadow DOM
Diffstat (limited to 'ext/data')
-rw-r--r--ext/data/schemas/options-schema.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json
index 09398fb0..13bbbaec 100644
--- a/ext/data/schemas/options-schema.json
+++ b/ext/data/schemas/options-schema.json
@@ -438,7 +438,8 @@
"layoutAwareScan",
"matchTypePrefix",
"hidePopupOnCursorExit",
- "hidePopupOnCursorExitDelay"
+ "hidePopupOnCursorExitDelay",
+ "normalizeCssZoom"
],
"properties": {
"inputs": {
@@ -706,6 +707,10 @@
"type": "number",
"minimum": 0,
"default": 0
+ },
+ "normalizeCssZoom": {
+ "type": "boolean",
+ "default": true
}
}
},