mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
insettabular.C (dist): fix miscalculation of rowheight (bug 2006)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13352 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4c81f63af3
commit
64671aa6c7
@ -1,3 +1,7 @@
|
||||
2006-03-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* insettabular.C (dist): fix miscalculation of rowheight (bug 2006)
|
||||
|
||||
2005-02-25 Martin Vermeer <martin.vermeer@hut.fi>
|
||||
2006-02-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
|
@ -1162,8 +1162,7 @@ int InsetTabular::dist(idx_type const cell, int x, int y) const
|
||||
int const ybeg = o.y_ - inset.ascent();
|
||||
row_type const row = tabular.row_of_cell(cell);
|
||||
int const rowheight = tabular.getAscentOfRow(row)
|
||||
+ tabular.getDescentOfRow(row)
|
||||
+ tabular.getAdditionalHeight(row);
|
||||
+ tabular.getDescentOfRow(row);
|
||||
int const yend = ybeg + rowheight;
|
||||
|
||||
if (x < xbeg)
|
||||
|
Loading…
Reference in New Issue
Block a user