diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-12 12:20:06 +0000 |
|---|---|---|
| committer | Jabiertxof <jabier.arraiza@marker.es> | 2019-06-13 00:24:32 +0000 |
| commit | 7317fcf723fe0c633bbca890d996c6213fab121f (patch) | |
| tree | 09aaf75e23e9841b442875fafe533f311051b704 /src/ui/widget/spinbutton.cpp | |
| parent | Fixes hover scrool bug (diff) | |
| download | inkscape-7317fcf723fe0c633bbca890d996c6213fab121f.tar.gz inkscape-7317fcf723fe0c633bbca890d996c6213fab121f.zip | |
allow page increments with control key
Diffstat (limited to 'src/ui/widget/spinbutton.cpp')
| -rw-r--r-- | src/ui/widget/spinbutton.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget/spinbutton.cpp b/src/ui/widget/spinbutton.cpp index 130cd6c39..3f99dd2cc 100644 --- a/src/ui/widget/spinbutton.cpp +++ b/src/ui/widget/spinbutton.cpp @@ -73,6 +73,9 @@ bool SpinButton::on_my_scroll_event(GdkEventScroll* event) } double step, page; get_increments(step, page); + if (event->state & GDK_CONTROL_MASK) { + step = page; + } double change = 0.0; if (event->direction == GDK_SCROLL_UP) { change = step; |
