commit 3cf5a064dba71680632fb5a01b74693abcee2e23
Author: Enrico Forestieri <[email protected]>
Date:   Tue Feb 23 21:48:54 2021 +0100

    Amend 368e983a
---
 src/mathed/InsetMathDots.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/mathed/InsetMathDots.cpp b/src/mathed/InsetMathDots.cpp
index 41933f3..5c51511 100644
--- a/src/mathed/InsetMathDots.cpp
+++ b/src/mathed/InsetMathDots.cpp
@@ -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);
 }
 
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to