diff options
Diffstat (limited to 'dw/fltkui.cc')
-rw-r--r-- | dw/fltkui.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dw/fltkui.cc b/dw/fltkui.cc index 6f54c08f..65c54f69 100644 --- a/dw/fltkui.cc +++ b/dw/fltkui.cc @@ -61,9 +61,8 @@ int CustInput2::handle(int e) unsigned modifier = Fl::event_state() & (FL_SHIFT | FL_CTRL | FL_ALT); if (e == FL_KEYBOARD) { - if (k == FL_Page_Down || k == FL_Page_Up) { - // These do nothing of interest when FL_MULTILINE_INPUT isn't set. - // Let them through for key commands. + if (k == FL_Page_Down || k == FL_Page_Up || k == FL_Up || k == FL_Down) { + // Let them through for key commands and viewport motion. return 0; } if (modifier == FL_CTRL) { |