Commit 0f96fc22 authored by Jabier Arraiza's avatar Jabier Arraiza

Fix Text tool scroll leaves some background items unrendered inbox#1397

parent c072c444
......@@ -493,6 +493,9 @@ 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