add gradient degree keydown event to check ENTER press