Skip to content

Commit

Permalink
hide animation controls when no animations are available
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-ec committed Mar 21, 2024
1 parent 2724a26 commit 7a78cd2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app_web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,12 @@ <h2 class="title is-spaced">Display</h2>
<img src="assets/ui/Navigation_right_20px.svg" width="30px"
@click="collapseActiveTab($event, 2)">
<h2 class="title is-spaced">Animation</h2>
<label class="subtitle">Animation Controls</label>
<label class="subtitle" v-bind:style="[animations.length == 0 ? {'display': 'none'} : {}]">Animation Controls</label>
<toggle-button v-stream:buttonclicked="animationPlayChanged$" ontext="Pause" offtext="Play"
ref="animationState"></toggle-button>
ref="animationState"
v-bind:style="[animations.length == 0 ? {'display': 'none'} : {}]"></toggle-button>

<label class="subtitle" v-bind:style="[animations.length != 0 ? {'display': 'none'} : {}]">No Animations available</label>

<b-field label="Animations"
v-bind:style="[animations.length == 0 ? {'display': 'none'} : {}]">
Expand Down

0 comments on commit 7a78cd2

Please sign in to comment.