diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-13 12:52:47 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-06-13 12:52:47 +0000 |
| commit | 92053aa9ea8476eab8a853719b59b492f50610d9 (patch) | |
| tree | 8989076f6831b9c1d00504e0c6c40cc864bb0f73 /src/ui/widget/spinbutton.cpp | |
| parent | Fix CI problem (diff) | |
| download | inkscape-92053aa9ea8476eab8a853719b59b492f50610d9.tar.gz inkscape-92053aa9ea8476eab8a853719b59b492f50610d9.zip | |
fix coding style
Diffstat (limited to 'src/ui/widget/spinbutton.cpp')
| -rw-r--r-- | src/ui/widget/spinbutton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/spinbutton.cpp b/src/ui/widget/spinbutton.cpp index 48da5c8f5..c633035cf 100644 --- a/src/ui/widget/spinbutton.cpp +++ b/src/ui/widget/spinbutton.cpp @@ -85,7 +85,7 @@ bool SpinButton::on_scroll_event(GdkEventScroll *event) } else if (event->direction == GDK_SCROLL_DOWN) { change = -step; } else if (event->direction == GDK_SCROLL_SMOOTH) { - double delta_y_clamped = CLAMP(event->delta_y, -1 , 1); // values > 1 result in excessive changes + double delta_y_clamped = CLAMP(event->delta_y, -1, 1); // values > 1 result in excessive changes change = step * -delta_y_clamped; } else { return false; |
