Commit 951e1cdc authored by Jabier Arraiza's avatar Jabier Arraiza

Fix Text tool scroll leaves some background items unrendered...

Fix Text tool scroll leaves some background items unrendered inkscape/inbox#1397
parent 03063e0e
......@@ -19,6 +19,7 @@
#include <glibmm/i18n.h>
#include <glibmm/regex.h>
#include "display/sp-canvas.h"
#include <display/sp-ctrlline.h>
#include <display/sodipodi-ctrlrect.h>
#include <display/sp-ctrlquadr.h>
......@@ -493,6 +494,7 @@ bool TextTool::root_handler(GdkEvent* event) {
}
break;
case GDK_MOTION_NOTIFY: {
if (this->desktop && this->desktop->canvas->_scrooling) return true;
if (this->creating && (event->motion.state & GDK_BUTTON1_MASK) && !this->space_panning) {
if ( this->within_tolerance
&& ( abs( (gint) event->motion.x - this->xp ) < this->tolerance )
......
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