From 5544404f7a89a3d7e781f5e57d1271076485c91c Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Fri, 10 Mar 2017 21:47:08 +0000 Subject: Enable Up/Down keys in Fl_Spinner if input has focus (STR #2989). Previously Up/Down keys worked only if one of the buttons was pressed before so that it had the focus. test/valuators.fl: The second Fl_Spinner widget (FL_FLOAT_INPUT) now has wrap mode disabled whereas the first one (FL_INT_INPUT) uses wrap mode (default, compatible with FLTK 1.3.x and older). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- test/valuators.fl | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/valuators.fl b/test/valuators.fl index 5df70e55c..4d740808c 100644 --- a/test/valuators.fl +++ b/test/valuators.fl @@ -154,6 +154,7 @@ Function {} {open Fl_Spinner {} { label FL_FLOAT_INPUT xywh {465 216 80 24} type Float labelsize 8 align 2 minimum 0 maximum 1 step 0.01 value 0.05 + code0 {o->wrap(0); // disable wrap mode} } Fl_Box {} { label Fl_Dial -- cgit v1.2.3