mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-28 08:58:07 +00:00
Fix image-generator-demo
This commit is contained in:
@@ -5,6 +5,10 @@
|
|||||||
background: #242433;
|
background: #242433;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sts-scene-data-provider {
|
||||||
|
display: contents;
|
||||||
|
}
|
||||||
|
|
||||||
// Layout utilities
|
// Layout utilities
|
||||||
.v-start, .v-end, .h-start, .h-end, .h-center {
|
.v-start, .v-end, .h-start, .h-end, .h-center {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ import { ImageInfo, LcmClient } from "./lcm-client";
|
|||||||
|
|
||||||
import "@storyteller/studio-web/canvas-provider";
|
import "@storyteller/studio-web/canvas-provider";
|
||||||
import "@storyteller/studio-web/loading";
|
import "@storyteller/studio-web/loading";
|
||||||
|
// import "@storyteller/studio-web/scene-data-provider";
|
||||||
import "@storyteller/studio-web/scene-hierarchy";
|
import "@storyteller/studio-web/scene-hierarchy";
|
||||||
import "@storyteller/studio-web/studio";
|
import "@storyteller/studio-web/studio";
|
||||||
import "@storyteller/studio-web/transform-toolbar";
|
import "@storyteller/studio-web/transform-toolbar";
|
||||||
@@ -173,6 +174,7 @@ export class AppElement extends LitElement {
|
|||||||
|
|
||||||
protected override render = () => html`
|
protected override render = () => html`
|
||||||
<sts-canvas-provider class="app-root">
|
<sts-canvas-provider class="app-root">
|
||||||
|
<sts-scene-data-provider>
|
||||||
<div
|
<div
|
||||||
class="hierarchy-wrapper"
|
class="hierarchy-wrapper"
|
||||||
style=${styleMap({ width: `${this.hierarchyWidth}px` })}
|
style=${styleMap({ width: `${this.hierarchyWidth}px` })}
|
||||||
@@ -297,6 +299,7 @@ export class AppElement extends LitElement {
|
|||||||
${this.loading ? html`
|
${this.loading ? html`
|
||||||
<sts-loading></sts-loading>
|
<sts-loading></sts-loading>
|
||||||
` : nothing}
|
` : nothing}
|
||||||
|
</sts-scene-data-provider>
|
||||||
</sts-canvas-provider>
|
</sts-canvas-provider>
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user