mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
Update studio-frontend/src/app/anim-editor.element.ts
Co-authored-by: Danny McGee <dannymcgee@gmail.com>
This commit is contained in:
@@ -331,16 +331,28 @@ export class AnimEditorElement extends LitElement
|
||||
>
|
||||
<sts-toolbar>
|
||||
<sts-toolbar-group>
|
||||
${this.keyingMode === "automatic" ? html`<sts-button class="btn-autokey active" icon="record" aria-label="Auto Keyframe" @click=${studio.toggleAutoKey} title="Auto Keyframe"/>` :
|
||||
html`<sts-button class="btn-keyframe"
|
||||
icon="key"
|
||||
aria-label="Add Keyframe"
|
||||
title="Add Keyframe"
|
||||
?disabled=${none_selected}
|
||||
@click=${this.addKeyframe}
|
||||
></sts-button>
|
||||
<sts-button class="btn-autokey" icon="record" aria-label="Auto Keyframe" @click=${studio.toggleAutoKey} title="Auto Keyframe"/>`
|
||||
}
|
||||
${this.keyingMode === "automatic" ? html`
|
||||
<sts-button class="btn-autokey active"
|
||||
icon="record"
|
||||
aria-label="Auto Keyframe"
|
||||
title="Auto Keyframe"
|
||||
@click=${studio.toggleAutoKey}
|
||||
></sts-button>
|
||||
` : html`
|
||||
<sts-button class="btn-keyframe"
|
||||
icon="key"
|
||||
aria-label="Add Keyframe"
|
||||
title="Add Keyframe"
|
||||
?disabled=${none_selected}
|
||||
@click=${this.addKeyframe}
|
||||
></sts-button>
|
||||
<sts-button class="btn-autokey"
|
||||
icon="record"
|
||||
aria-label="Auto Keyframe"
|
||||
title="Auto Keyframe"
|
||||
@click=${studio.toggleAutoKey}
|
||||
></sts-button>
|
||||
`}
|
||||
</sts-toolbar-group>
|
||||
<sts-toolbar-group class="timeline-nav">
|
||||
<sts-button
|
||||
|
||||
Reference in New Issue
Block a user