From 04e6428fec0f295df149ada3a6a51053a0884761 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 4 Oct 2022 10:10:49 +0400 Subject: [PATCH] Remove accidentally added check. --- ui/text/text_renderer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/text/text_renderer.cpp b/ui/text/text_renderer.cpp index ec3fc64..6c2b824 100644 --- a/ui/text/text_renderer.cpp +++ b/ui/text/text_renderer.cpp @@ -185,7 +185,6 @@ void Renderer::draw(QPainter &p, const PaintContext &context) { ? -1 : (context.clip.y() + context.clip.height()); if (const auto lines = context.elisionLines) { - if (context.clip.isNull()) if (_yTo < 0 || (_y + (lines - 1) * _t->_st->font->height) < _yTo) { _yTo = _y + (lines * _t->_st->font->height); _elideLast = true;