]> git.lyx.org Git - features.git/commitdiff
Amend 368e983a
authorEnrico Forestieri <forenr@lyx.org>
Tue, 23 Feb 2021 20:48:54 +0000 (21:48 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 23 Feb 2021 20:48:54 +0000 (21:48 +0100)
src/mathed/InsetMathDots.cpp

index 41933f3ab18710823d25f2785fca6bfcb0faa0e0..5c51511701b687ebda0e6e4caa9cd3a49f4c62cd 100644 (file)
@@ -43,8 +43,6 @@ void InsetMathDots::metrics(MetricsInfo & mi, Dimension & dim) const
        if (key_->name == "cdots" || key_->name == "dotsb"
                        || key_->name == "dotsm" || key_->name == "dotsi")
                dh_ = dim.asc / 2;
-       else if (key_->name == "dotsc" || key_->name == "ldots")
-               dh_ = 2;
        else if (key_->name == "ddots" || key_->name == "adots"
                        || key_->name == "iddots" || key_->name == "vdots")
                dh_ = dim.asc;
@@ -58,7 +56,7 @@ void InsetMathDots::draw(PainterInfo & pi, int x, int y) const
                --y;
        else if (key_->name == "vdots")
                x += (dim.width() - 2) / 2;
-       mathed_draw_deco(pi, x - 1, y - dh_, dim.width() - 2, dim.ascent(),
+       mathed_draw_deco(pi, x + 1, y - dh_, dim.width() - 2, dim.ascent(),
                        key_->name);
 }