Feature Request: Disable entering knob value via keyboard



  • If I make a really thin vertical slider the textbox becomes useless. It would be good if there was a setting to disable it entirely so that double click on the slider resets it to its default value.

    I know we have a showTextBox property but a) disabling this adds a border around the slider, and b) the text box can still be accessed by shift+clicking on the slider.



  • Yeah, no idea why it draws the border around it. I'll take a look.

    I could also add a check that removes the shift click option if the slider's width is less than 25px (which is the smallest width that you can use the shift-click box reasonably).



  • @Christoph-Hart Thank you 😄



  • Alright, I've commited the changes. Check this snippet, it should behave like you wanted:

    HiseSnippet 813.3ocsU0rTTCCGOA1ftqJJN7.zivLHSWTPmwCrt6BL6f.qVfwaXnMklYSSpMovtv3MGeb7r2zmDG8Mv2.MosrsnKHryXO0+ele++3WR2XgKQJEw.X0cGDQ.v6hbFvUAsBvTNnSa.bZzVXohDakop4fHrTR7.P3jaXT.qVAj98yUahYXtKoPE.ruf5RdIMjpJz1swlTFacrGYWZXIueRiNtBdKASjnwyjHaPD1sG9Hx1XiaSf.voVyipDwNJrhH09zT3MvIPbBOy+8oR5gLhQnNvQmnL0fVATlW2yqUI..qzsnxmLqxmEsE0iNTeQG3AoFrJhnbO.NwEgTkK.o5WFjVWv7LI3RfGrD7pjAuYPNtwzHUgEC1tCpCWOb7w51dYXk4K.9UTKg1AtZwPbOx5wZggAL2J11KXsrs87O2Og6pnBtkfusPQ1gO270NqV0Zuul0eZx2ej1LGSrfwHwizrYRGeUANGOI7PR7BVGiYIjgNpK+K1em550ecyp5RNJ3c3T0NQjb4hIP8QLA.4sMyrHGgZWUoShoymDNLpGIFP0I4VnM4hCqCRAe9F82e0m+1pf85zFqvmmFcF0mRDIVQMECrM4XM+Ha.WE0lH6oDQo9FFI3lyGd++4g1G.QvYf.v.yOeTezR0.SKoFZeyI4hYfPpmGizUHol1dIR6Wzb6HG5oon9rY+zF+3zOrZXYdM.Dh6WllKS78o8SIj9TVnTowUmPMOE.eHZOIwxi3iSXJKYOcdXTdOh2thT+Og5oBJx0RMBHziBJta3suqgTOx1kzW0Tz2rHC9alflOJ7RXX0EIolaixMXJwxrAyJOWW5CJWF2.lq8HYtibu4ZB2YPcoJ2fQi2IFAd0aP+uwa98f2CsluOwUU.1Jn0ey3do2M.JuVjnn7i1BqWnL6zamD5neJvknQBmSXRy58DFtYlrsQ1zYbHbuTgeo+xMV2HCyMV+bi5UY2XwAtYLZyMs2NUiFS7zGYppesSKaMjJiP1KZanOzCbcMshGUG.FcLKMFw73wHlmLFwr7XDyJiQLOcLh4YWYLl2deQhRDlQSzJ5tV5UpP3ZbrdKKciD7afCbQk2
    


  • @Christoph-Hart I'm getting lots of build errors on the scriptnode branch.

    This is a text file not an mp3 @Dominik-Mayer Shouldn't we be allowed to upload .txt files?
    dump.mp3


Log in to reply
 

6
Online

517
Users

1.9k
Topics

14.5k
Posts