# HG changeset patch # User Nicholas Jillings # Date 1506422989 -3600 # Node ID 4927dc84e86d93390d267582358c61d0467728c6 # Parent be98bbeea41ae4ef186b8265e53ef487fcdfb7e1 Minor fix to MUSHRA interface drawings diff -r be98bbeea41a -r 4927dc84e86d interfaces/mushra.css --- a/interfaces/mushra.css Tue Sep 26 11:37:39 2017 +0100 +++ b/interfaces/mushra.css Tue Sep 26 11:49:49 2017 +0100 @@ -39,6 +39,8 @@ } div.scale-text { position: absolute; + text-align: right; + min-width: 100px; } canvas#scale-canvas { position: relative; diff -r be98bbeea41a -r 4927dc84e86d interfaces/mushra.js --- a/interfaces/mushra.js Tue Sep 26 11:37:39 2017 +0100 +++ b/interfaces/mushra.js Tue Sep 26 11:49:49 2017 +0100 @@ -508,7 +508,6 @@ text.className = "scale-text"; textHolder.appendChild(text); text.style.top = (posPix - 9) + 'px'; - text.style.left = 100 - ($(text).width() + 3) + 'px'; lastHeight = posPix; }); }