]> 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>
Mon, 19 Mar 2012 18:29:37 +0000 (19:29 +0100)
commitcddd90dfdffe1a717a6844df551618fe49103c58
tree7fa6acc6743658755019e097f6d5e8d169ba9507
parentb754fb0253671ca564e6940088c38786083e477c
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
status.20x