From 036436a0bec5fa0e9dcee3ed57260a2251c6b49f Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Sat, 16 May 2026 23:12:55 +0200 Subject: [PATCH] Remove the unused `Outline._normalizePagePoint` method This method was added in PR 19093, back in 2024, however it never actually appears to have been used. --- src/display/editor/drawers/outline.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/display/editor/drawers/outline.js b/src/display/editor/drawers/outline.js index e06aafcb3..e4d41f7f8 100644 --- a/src/display/editor/drawers/outline.js +++ b/src/display/editor/drawers/outline.js @@ -85,19 +85,6 @@ class Outline { } } - static _normalizePagePoint(x, y, rotation) { - switch (rotation) { - case 90: - return [1 - y, x]; - case 180: - return [1 - x, 1 - y]; - case 270: - return [y, 1 - x]; - default: - return [x, y]; - } - } - static createBezierPoints(x1, y1, x2, y2, x3, y3) { return [ (x1 + 5 * x2) / 6,