mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-07 06:14:07 +00:00
fixes
This commit is contained in:
@@ -147,8 +147,9 @@ class Engine {
|
||||
return this.run((w) => w.new_file(name));
|
||||
}
|
||||
|
||||
loadFile(data: Uint8Array) {
|
||||
return this.run((w) => w.load_file(data));
|
||||
/** `name` is the name of the file when the data has none (the name on disk, without extension). */
|
||||
loadFile(data: Uint8Array, name: string) {
|
||||
return this.run((w) => w.load_file(data, name));
|
||||
}
|
||||
|
||||
duplicate() {
|
||||
|
||||
Reference in New Issue
Block a user