]> Pileus Git - ~andy/gtk/commit
texthandle: Set a bigger input shape, covering the line height
authorCarlos Garnacho <carlos@lanedo.com>
Fri, 11 Jan 2013 16:22:02 +0000 (17:22 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Mar 2013 21:47:58 +0000 (16:47 -0500)
commita97178af65072e98605b2ce168ee4cc36f684ca2
tree1950113a0f205347a7cdf7b8010694e5f6c0f0bc
parent17d3775555888151780fa404242e734a8e7f6b21
texthandle: Set a bigger input shape, covering the line height

Now, even if the handles being rendered are small, the handle touch
input shape will be as wide as the visible part of the rendered asset, and
high enough to cover both the handle and the height of the line where
the selection bound is.

Also, make handles have the same virtual distance to the line top/bottom
when a drag starts, so the handle doesn't jump to another line after a
too short threshold.
gtk/gtktexthandle.c