Browse Source

Border-radius change should dirty decorators

Michael Ragazzon 3 years ago
parent
commit
785b5e0b8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Core/Element.cpp

+ 1 - 1
Source/Core/Element.cpp

@@ -1851,7 +1851,7 @@ void Element::OnPropertyChange(const PropertyIdSet& changed_properties)
 	}
 	}
 	
 	
 	// Dirty the decoration if it's changed.
 	// Dirty the decoration if it's changed.
-	if (changed_properties.Contains(PropertyId::Decorator))
+	if (border_radius_changed || changed_properties.Contains(PropertyId::Decorator))
 	{
 	{
 		meta->decoration.DirtyDecorators();
 		meta->decoration.DirtyDecorators();
 	}
 	}