void256/nifty-gui — pull request #44 by mkaring (2012-09-03 10:14:55+00:00)
Title: Textfield Bugfix and reducing of event spamming

For the text field part I added some proper default values to the control definition, as the implicit values cause faulty behaviour.

For the event spamming: I noticed that upon mouse move events all controls that monitor mouse wheel changes are spammed with mouse wheel events containing a delta of 0 in case the mouse moves over the element. I added a test if the delta is not equal 0 in order to reduce the amount of useless calls.