@hatiolab/things-scene 3.3.6 → 3.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/db.sqlite +0 -0
- package/package.json +1 -1
- package/schema.gql +2773 -0
- package/things-scene-ie.js +1 -1
- package/things-scene-min.js +1 -1
- package/things-scene.d.ts +2 -0
- package/things-scene.mjs +1 -1
package/things-scene.d.ts
CHANGED
|
@@ -468,6 +468,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
468
468
|
canvas: HTMLCanvasElement | null
|
|
469
469
|
|
|
470
470
|
getContext(): CanvasRenderingContext2D
|
|
471
|
+
centerTo(component: Component, animated?: boolean): void
|
|
471
472
|
}
|
|
472
473
|
|
|
473
474
|
class ModelLayer extends Layer {
|
|
@@ -658,6 +659,7 @@ declare module '@hatiolab/things-scene' {
|
|
|
658
659
|
redo(): void
|
|
659
660
|
undo(): void
|
|
660
661
|
move(component: Component, to_container: Container, to_index: number): void
|
|
662
|
+
centerTo(component: Component, animated?: boolean): void
|
|
661
663
|
|
|
662
664
|
select(selector: string | Function, ...others: (string | Function)[]): Component[]
|
|
663
665
|
paste(clipboard: string): void
|