propose a change for KrNumberEditor

View: New views
1 Messages — Rating Filter:   Alert me  

propose a change for KrNumberEditor

by felix-38 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


This has been talked about before and I don't think anybody would have a problem with this change. 
But since its an often used class I want to propose it before I commit it.

k = KrNumberEditor(440,\freq);
k.gui

k.value = 100

one would expect that the gui would update and the modulation message would be sent to the synth as soon as you do k.value = 100

but currently you also have to do :

k.changed

so I would like to eliminate that and always send .changed when it ... changes

it should've always been like that.

it would break nothing, but some people who have the .changed message appended would get a double value send.
send comments if you got em.  thanks.

- f;lix


LightInTheBox - Buy quality products at wholesale price