Squashed commit of the following:

commit 4712967dd807ce035f407acff9bcfbc6c320bbdc
Author: bakedpotatolord <jeffy9745@gmail.com>
Date:   Tue Jul 8 09:26:33 2025 -0600

    Reapply "add missing import"

    This reverts commit f8ef936d8e.
This commit is contained in:
bakedpotatolord 2025-07-08 09:37:29 -06:00 • committed by Stewart Allen
commit 5bb4802fc9
7 changed files with 10 additions and 5 deletions

View file

@ -18,7 +18,7 @@ import { space as SPACE } from '../moto/space.js';
import { stats } from '../kiri/stats.js';
import { noop, utils } from '../kiri/utils.js';
import { version } from '../moto/license.js';
import { Widget } from './widget.js';
import { Widget, newWidget } from './widget.js';
import { showTools } from '../kiri-mode/cam/tools.js';
let { parseOpt, o2js, js2o, ls2o } = utils,

View file

@ -6,7 +6,7 @@ import { ajax, js2o } from './utils.js';
import { base } from '../geo/base.js';
import { load } from '../load/file.js';
import { space } from '../moto/space.js';
import { Widget } from './widget.js';
import { Widget, newWidget } from './widget.js';
import { Packer } from './pack.js';
import { COLOR, MODES } from './consts.js';
@ -837,7 +837,7 @@ function platformLoadFiles(files, group) {
api.function.parse(data.textDecode('utf-8'), 'gcode');
load_dec();
} else if (issvg) {
loadSVGDialog(opt => {
loadSVGDialog(opt => {
group = group || [];
let svg = load.SVG.parse(data.textDecode('utf-8'), opt);
let ind = 0;