浏览代码

hide animatiosn container if told to

Raanan Weber 7 年之前
父节点
当前提交
5ab531bb9a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Viewer/assets/templates/default/navbar.html

+ 2 - 2
Viewer/assets/templates/default/navbar.html

@@ -101,14 +101,14 @@
         <span class="model-subtitle"> {{#if subtitle}}{{subtitle}} {{/if}}</span>
     </div>
 </div>
-{{#if animations}}
+{{#if animations}} {{#if hideAnimations}}{{else}}
 <div class="animation-container flex-container">
     <select id="animation-selector" name="animations">
         {{#each animations}}
         <option value="{{this}}">{{this}}</option>> {{/each}}
     </select>
 </div>
-{{/if}}
+{{/if}} {{/if}}
 <div class="button-container flex-container">
     <!-- holding the buttons -->
     {{#eachInMap buttons}}