From 480869c3d1d820b344d23989d2deae64a594869e Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 20 Sep 2022 21:06:39 -0400 Subject: 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 --- ext/data/schemas/options-schema.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'ext/data/schemas') 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 } } }, -- cgit v1.2.3