comparison core.js @ 1355:7e0678b5f87a

More volume control styling
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Fri, 22 Jan 2016 17:03:18 +0000
parents 8605db97c241
children 48b16162cdd0
comparison
equal deleted inserted replaced
1354:8605db97c241 1355:7e0678b5f87a
2822 node.setAttribute('volume',interfaceContext.volume.valueDB); 2822 node.setAttribute('volume',interfaceContext.volume.valueDB);
2823 node.setAttribute('format','dBFS'); 2823 node.setAttribute('format','dBFS');
2824 storePoint.appendChild(node); 2824 storePoint.appendChild(node);
2825 } 2825 }
2826 2826
2827 var title = document.createElement('div');
2828 title.innerHTML = '<span>Master Volume Control</span>';
2829 title.style.fontSize = '0.75em';
2830 title.style.width = "100%";
2831 title.align = 'center';
2832 this.object.appendChild(title);
2833
2827 this.object.appendChild(this.slider); 2834 this.object.appendChild(this.slider);
2828 this.object.appendChild(this.valueText); 2835 this.object.appendChild(this.valueText);
2829 } 2836 }
2830 // Global Checkers 2837 // Global Checkers
2831 // These functions will help enforce the checkers 2838 // These functions will help enforce the checkers