From cd87d7599e1a6f61bb14e08f6e4a43a42a385c80 Mon Sep 17 00:00:00 2001 From: Tavmjong Bah Date: Fri, 13 Sep 2019 10:28:04 +0200 Subject: A value of zero for 'inline-size' should act as if 'inline-size' is not set. Fixes #852. --- src/ui/shape-editor-knotholders.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui/shape-editor-knotholders.cpp') diff --git a/src/ui/shape-editor-knotholders.cpp b/src/ui/shape-editor-knotholders.cpp index 02add372f..a2aa9919a 100644 --- a/src/ui/shape-editor-knotholders.cpp +++ b/src/ui/shape-editor-knotholders.cpp @@ -1693,7 +1693,7 @@ TextKnotHolderEntityInlineSize::knot_get() const Geom::Point p(text->attributes.firstXY()); - if (text->style->inline_size.set) { + if (text->has_inline_size()) { // SVG 2 'inline-size' // Keep handle at end of text line. -- cgit v1.2.3