diff --git a/plugins/xair/styles.css b/plugins/xair/styles.css index 1f25d39..06544f5 100644 --- a/plugins/xair/styles.css +++ b/plugins/xair/styles.css @@ -127,3 +127,8 @@ input[type='range']::-webkit-slider-runnable-track { background: #3b3b3b; border-radius: 4px; } + +.infin{ + font-size: 20px; + vertical-align: middle; +} diff --git a/plugins/xair/template.ejs b/plugins/xair/template.ejs index c0f95c1..6e8683e 100644 --- a/plugins/xair/template.ejs +++ b/plugins/xair/template.ejs @@ -15,7 +15,7 @@ LR
MAIN OUT
M
- <%- formatAsDB(data.stereoFaderDB) %> + <%= formatAsDB(data.stereoFaderDB) %>
M
- <%- formatAsDB(data.channelFadersDB[i]) %> + <%= formatAsDB(data.channelFadersDB[i]) %> -<% function formatAsDB(val){ if(val==-90){ return "-∞"; } if(val>0){ +<% function formatAsDB(val){ if(val==-90){ return '-'; } if(val>0){ return "+"+val.toFixed(1); } return val.toFixed(1); } %>