diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-11-19 05:23:04 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-11-19 05:23:04 +0000 |
| commit | 969361993806dbe679d1065d5a869fbb74163e8e (patch) | |
| tree | 96d9ad847f6f5236719f06a9964d7f4fca1b72dc /src/ui/tools/select-tool.cpp | |
| parent | Multiple fixes for the objects panel (diff) | |
| download | inkscape-969361993806dbe679d1065d5a869fbb74163e8e.tar.gz inkscape-969361993806dbe679d1065d5a869fbb74163e8e.zip | |
Speedup filtering and panning
Diffstat (limited to 'src/ui/tools/select-tool.cpp')
| -rw-r--r-- | src/ui/tools/select-tool.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/tools/select-tool.cpp b/src/ui/tools/select-tool.cpp index 2627f2e9a..553b021a2 100644 --- a/src/ui/tools/select-tool.cpp +++ b/src/ui/tools/select-tool.cpp @@ -799,8 +799,13 @@ bool SelectTool::root_handler(GdkEvent* event) { sp_canvas_item_ungrab(this->grabbed); this->grabbed = nullptr; } - - desktop->updateNow(); + desktop->canvas->endForcedFullRedraws(); // we want this forced redraw always with this tool + if (event->button.button == 1) { + // we want redraw of all dirty regions on relase + desktop->canvas->_forcefull = true; + } + // Think is not necesary now + // desktop->updateNow(); } if (event->button.button == 1) { |
