diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2018-09-11 19:27:52 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2018-09-11 20:00:27 +0000 |
| commit | 414e974ae35c3649db8426147efec31215a5c45a (patch) | |
| tree | afa07279df47d7c81ee3aac9520fab42f8513473 /src/ui/tools/spray-tool.cpp | |
| parent | Support smooth scrolling (part 1) (diff) | |
| download | inkscape-414e974ae35c3649db8426147efec31215a5c45a.tar.gz inkscape-414e974ae35c3649db8426147efec31215a5c45a.zip | |
Support smooth scrolling (part 2)
Fix scrolling when smooth scrolling is enabled /
allow to scroll smoothly for:
- canvas palette
- node selection in path tool
- selection cycling in select tool while holding Alt key
- spraying in spray tool with mouse wheel
- adjusting color by scrolling in lower left stroke/fill fields
Diffstat (limited to 'src/ui/tools/spray-tool.cpp')
| -rw-r--r-- | src/ui/tools/spray-tool.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/tools/spray-tool.cpp b/src/ui/tools/spray-tool.cpp index cf677ff0c..c56bceda4 100644 --- a/src/ui/tools/spray-tool.cpp +++ b/src/ui/tools/spray-tool.cpp @@ -1304,7 +1304,8 @@ bool SprayTool::root_handler(GdkEvent* event) { switch (event->scroll.direction) { case GDK_SCROLL_DOWN: - case GDK_SCROLL_UP: { + case GDK_SCROLL_UP: + case GDK_SCROLL_SMOOTH: { if (Inkscape::have_viable_layer(desktop, this->message_context) == false) { return TRUE; } |
