]> git.lyx.org Git - features.git/commit
Fix bug #8083: Fix the selection of cells below multirows
authorVincent van Ravesteijn <vfr@lyx.org>
Sat, 17 Mar 2012 23:05:15 +0000 (00:05 +0100)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 17 Mar 2012 23:05:15 +0000 (00:05 +0100)
commit96e854ab765ec8f58e44ecf7b6bf63cf9e44c90d
tree468624be23422ad5cd62615a0e5de0e5d44a5688
parent022677fcc4d9a6993259eae17d3549862d533c39
Fix bug #8083: Fix the selection of cells below multirows

Multirows were introduced in 8bb69f24 (Uwe Stoehr, 11 Feb 2010). In the
computation of the nearest cell, it was forgotten to account for the
vertical offset. tabular.cellHeight is the full height of the cell, while
the point that comes from the coordCache is offsetted by VOffset.
Therefore, we have to subtract the VOffset from o.y_.
src/insets/InsetTabular.cpp