diff --git a/src/Avalonia.Visuals/Media/Rotate3DTransform.cs b/src/Avalonia.Visuals/Media/Rotate3DTransform.cs
index 45cd9f803b..3b8cc57b45 100644
--- a/src/Avalonia.Visuals/Media/Rotate3DTransform.cs
+++ b/src/Avalonia.Visuals/Media/Rotate3DTransform.cs
@@ -57,16 +57,7 @@ public class Rotate3DTransform : Transform
///
/// Initializes a new instance of the class.
///
- public Rotate3DTransform()
- {
- this.GetObservable(AngleXProperty).Subscribe(_ => RaiseChanged());
- this.GetObservable(AngleYProperty).Subscribe(_ => RaiseChanged());
- this.GetObservable(AngleZProperty).Subscribe(_ => RaiseChanged());
- this.GetObservable(CenterXProperty).Subscribe(_ => RaiseChanged());
- this.GetObservable(CenterYProperty).Subscribe(_ => RaiseChanged());
- this.GetObservable(CenterZProperty).Subscribe(_ => RaiseChanged());
- this.GetObservable(DepthProperty).Subscribe(_ => RaiseChanged());
- }
+ public Rotate3DTransform() { }
///
/// Initializes a new instance of the class.
@@ -194,4 +185,6 @@ public class Rotate3DTransform : Transform
return matrix;
}
}
+
+ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs change) => RaiseChanged();
}