From 5f575a14e87e4fd18833b01ae8c3fd70cedd9580 Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Wed, 27 Nov 2024 12:43:22 +0100 Subject: [PATCH 1/2] Add missing import --- src/fontra/views/editor/edit-tools-knife.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fontra/views/editor/edit-tools-knife.js b/src/fontra/views/editor/edit-tools-knife.js index 1ce650cf3..d10b1f9dd 100644 --- a/src/fontra/views/editor/edit-tools-knife.js +++ b/src/fontra/views/editor/edit-tools-knife.js @@ -1,3 +1,4 @@ +import { translate } from "../core/localization.js"; import { slicePaths } from "../core/path-functions.js"; import { mapObjectValues, zip } from "../core/utils.js"; import * as vector from "../core/vector.js"; From 3a34f1601aff952524f33fcb1cda18d55569345e Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Wed, 27 Nov 2024 12:50:51 +0100 Subject: [PATCH 2/2] Remove unused import --- src/fontra/views/editor/cjk-design-frame.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fontra/views/editor/cjk-design-frame.js b/src/fontra/views/editor/cjk-design-frame.js index c81e6af82..98a1990ca 100644 --- a/src/fontra/views/editor/cjk-design-frame.js +++ b/src/fontra/views/editor/cjk-design-frame.js @@ -2,7 +2,6 @@ import { registerVisualizationLayerDefinition, strokeLine, } from "./visualization-layer-definitions.js"; -import { translate } from "/core/localization.js"; import { range } from "/core/utils.js"; const cjkDesignFrameGlyphName = "_cjkDesignFrame";