Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
bordun 2021-03-19 18:51:53 +01:00
commit fc78e64bda
10 changed files with 115 additions and 15 deletions

View file

@ -39,6 +39,8 @@ module.exports = class File extends Widget {
if (this.getProp('align') === 'left') this.widget.classList.add('left')
if (this.getProp('align') === 'right') this.widget.classList.add('right')
if (this.getProp('mode') === 'save') this.widget.classList.add('save')
if (this.getProp('hidePath')) this.widget.classList.add('hide-path')
this.text = DOM.get(this.widget, '.text')[0]
this.widget.addEventListener('fast-click', (e)=>{