Commit 7317fcf7 authored by Jabier Arraiza's avatar Jabier Arraiza Committed by Jabier Arraiza

allow page increments with control key

parent 11e928db
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment