Hi Guys,
I've got a few custom buttons I'm trying to use in an instrument. If the buttons are in an off state, (value 0) and I move another knob on the instrument the button graphics will get chopped and only show a portion of the top of the button until I click it again. They don't glitch out if they are in an On state.
declare ui_button $BrassB
set_control_par(get_ui_id($BrassB),$CONTROL_PAR_DEFAULT_VALUE,1)
set_control_par_str(get_ui_id($BrassB),$CONTROL_PAR_PICTURE,"Brass88")
set_control_par_str(get_ui_id($BrassB),$CONTROL_PAR_TEXT,"")
set_control_par(get_ui_id($BrassB),$CONTROL_PAR_WIDTH,89)
set_control_par(get_ui_id($BrassB),$CONTROL_PAR_HEIGHT,145)
move_control($BrassB, 2, 9)
make_persistent($BrassB)
Any suggestions?
Thanks for looking.