From 7fc7d3b9fe6eabeddf43fbf72a041854fda51b27 Mon Sep 17 00:00:00 2001 From: Heiko Tietze Date: Thu, 16 May 2024 10:24:20 +0200 Subject: Related tdf#159573 - WhatsNew dialog: 1px glitch with Wayland Change-Id: I6565fa32f4484e74abecc795c67e7afa13f7f55b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167734 Reviewed-by: Heiko Tietze Tested-by: Jenkins --- cui/source/dialogs/whatsnew.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui') diff --git a/cui/source/dialogs/whatsnew.cxx b/cui/source/dialogs/whatsnew.cxx index 6092b7e4af50..5136c62f33ca 100644 --- a/cui/source/dialogs/whatsnew.cxx +++ b/cui/source/dialogs/whatsnew.cxx @@ -155,7 +155,7 @@ void WhatsNewProgress::Paint(vcl::RenderContext& rRenderContext, const tools::Re rRenderContext.Erase(); rRenderContext.SetAntialiasing(AntialiasingFlags::Enable); - tools::Rectangle aRect(Point(0, 0), Size(PROGRESS_DOTSIZE, PROGRESS_DOTSIZE)); + tools::Rectangle aRect(Point(1, 1), Size(PROGRESS_DOTSIZE, PROGRESS_DOTSIZE)); for (sal_Int32 i = 0; i < m_nTotal; i++) { if (i == m_nCurrent) -- cgit