Cloning element does not clone the styles (Element::meta)
How to reproduce:
- Create element in code
- Set some property through
SetProperty()
- Clone the element and attach it to some other element
Result:
- Element doest not have set properties and use just loaded css from document
Expected result:
- Element is cloned with all attributes and properties
I just found this problem when trying to set drag element style in code, when you drag the element in game, it clones it and just use the original css from file and the inline style is erased.
Point of clone: Context.cpp::1208
Edit: Maybe #191 similiar problem ?