fix selection when in scrollback when underneath scrolling occur

This commit is contained in:
Boris Faure 2014-06-15 22:50:26 +02:00
parent 92555866ee
commit 9f5d1ad674
1 changed files with 5 additions and 0 deletions

View File

@ -4006,6 +4006,11 @@ termio_scroll(Evas_Object *obj, int direction, int start_y, int end_y)
if (!((start_y > ty->selection.end.y) ||
(end_y < ty->selection.start.y)))
_sel_set(obj, EINA_FALSE);
else
{
ty->selection.start.y += direction;
ty->selection.end.y += direction;
}
}
}