From 8a61eaf19392cdc1ce39129e478d92c7167cbf75 Mon Sep 17 00:00:00 2001 From: wp_xyz Date: Mon, 2 Jun 2025 11:02:40 +0200 Subject: [PATCH] TAChart: Improvement of previous commit. --- components/tachart/tagraph.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/tachart/tagraph.pas b/components/tachart/tagraph.pas index 16286d2d9e..0163ac0ea0 100644 --- a/components/tachart/tagraph.pas +++ b/components/tachart/tagraph.pas @@ -1806,8 +1806,7 @@ begin UseYMin and (h < YMin) or UseYMax and (h > YMax) then exit; - if (FLogicalExtent <> AValue) then - InvalidateClipRect; + InvalidateClipRect; FLogicalExtent := AValue; FIsZoomed := true; StyleChanged(Self);