Fix \vdots problem reported by Michael

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5710 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-11-25 10:15:13 +00:00
parent 97dedd97de
commit f454da736f

View File

@ -32,8 +32,10 @@ void MathDotsInset::metrics(MathMetricsInfo & mi) const
dh_ = ascent() / 2;
else if (key_->name == "dotsc")
dh_ = ascent() / 4;
else if (key_->name == "vdots")
dim_.w /= 2;
else if (key_->name == "vdots") {
dim_.w = (dim_.w / 2) + 1;
dh_ = ascent();
}
else if (key_->name == "ddots")
dh_ = ascent();
}