nuklear icon indicating copy to clipboard operation
nuklear copied to clipboard

Make properties' left and right arrows repeaters; give repeaters adjustable rate & acceleration

Open kg opened this issue 7 years ago • 3 comments

This PR makes the left/right arrows on properties repeaters, and changes repeaters so they do not tick every frame. The repeaters instead tick at a configurable interval, and the interval decreases the longer you hold the mouse button.

kg avatar Dec 18 '18 05:12 kg

Hi, thanks for the PR. Before going further, could you please change the source files for "paqing"/amalgamation (see src/) and also bump the version accordingly?

dumblob avatar Dec 18 '18 07:12 dumblob

You should consider putting a big warning at the top of nuklear.h that says not to edit it. I have another PR in the works I'll have to redo from scratch now. :(

kg avatar Dec 18 '18 08:12 kg

Sorry for that, I can understand your frustration - feel free to put the warning either to README (e.g. to a section "how to contribute") and/or to the very top of the nuklear.h file.

dumblob avatar Dec 18 '18 17:12 dumblob