enter gridded insets a bit higher

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3202 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-12-13 13:40:08 +00:00
parent af71097957
commit 6a53128822

View File

@ -537,7 +537,7 @@ bool MathGridInset::idxFirst(idx_type & idx, pos_type & pos) const
idx = (nrows() - 1) * ncols();
break;
default:
idx = (nrows() / 2) * ncols();
idx = ((nrows() - 1) / 2) * ncols();
}
pos = 0;
return true;
@ -554,7 +554,7 @@ bool MathGridInset::idxLast(idx_type & idx, pos_type & pos) const
idx = nargs() - 1;
break;
default:
idx = (nrows() / 2 + 1) * ncols() - 1;
idx = ((nrows() - 1) / 2 + 1) * ncols() - 1;
}
pos = cell(idx).size();
return true;