mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-12-23 10:11:54 +00:00
Fix Bezier-rs interactive demo page build failure
This commit is contained in:
parent
a6ca43bb2d
commit
de235e3be1
2 changed files with 6 additions and 4 deletions
|
|
@ -79,10 +79,10 @@ export interface Demo extends HTMLElement {
|
|||
sliderData: Record<string, number>;
|
||||
sliderUnits: Record<string, string | string[]>;
|
||||
|
||||
drawDemo(figure: HTMLElement, mouseLocation?: [number, number]);
|
||||
onMouseDown(event: MouseEvent);
|
||||
onMouseUp();
|
||||
onMouseMove(event: MouseEvent);
|
||||
drawDemo(figure: HTMLElement, mouseLocation?: [number, number]): void;
|
||||
onMouseDown(event: MouseEvent): void;
|
||||
onMouseUp(): void;
|
||||
onMouseMove(event: MouseEvent): void;
|
||||
getSliderUnit(sliderValue: number, variable: string): string;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// TODO: Eventually migrate the bundler from Webpack to Vite
|
||||
|
||||
const path = require("path");
|
||||
|
||||
const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue