From 2d7b69669ba585559bda1c1ab934dbe9d4537ef1 Mon Sep 17 00:00:00 2001 From: SKProCH Date: Tue, 9 Jan 2024 02:29:52 +0300 Subject: [PATCH] Fix CircleClockPicker resizing, improve performance --- Material.Styles/Controls/CircleClockPicker.axaml.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Material.Styles/Controls/CircleClockPicker.axaml.cs b/Material.Styles/Controls/CircleClockPicker.axaml.cs index bf89089c..5f606c2c 100644 --- a/Material.Styles/Controls/CircleClockPicker.axaml.cs +++ b/Material.Styles/Controls/CircleClockPicker.axaml.cs @@ -114,9 +114,6 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang } private void OnCanvasResize(AvaloniaPropertyChangedEventArgs obj) { - if (!ReferenceEquals(obj.Sender, _cellPanel)) - return; - UpdateCellPanel(); AdjustPointer(); }