Add translation x/y
This commit is contained in:
parent
89dfe9ebc1
commit
6d6bad2110
|
@ -56,6 +56,8 @@ macro_rules! node_attributes {
|
|||
pub const grid_column: AttributeDescription = ("grid_column", None, false);
|
||||
pub const background_color: AttributeDescription = ("background_color", None, false);
|
||||
pub const translation: AttributeDescription = ("translation", None, false);
|
||||
pub const translation_x: AttributeDescription = ("translation", None, false);
|
||||
pub const translation_y: AttributeDescription = ("translation", None, false);
|
||||
pub const rotation: AttributeDescription = ("rotation", None, false);
|
||||
pub const scale: AttributeDescription = ("scale", None, false);
|
||||
pub const visibility: AttributeDescription = ("visibility", None, false);
|
||||
|
|
|
@ -101,6 +101,8 @@ impl HotReloadingContext for HotReloadContext {
|
|||
"grid_column" => Some(("grid_column", None)),
|
||||
"background_color" => Some(("background_color", None)),
|
||||
"translation" => Some(("translation", None)),
|
||||
"translation_x" => Some(("translation_x", None)),
|
||||
"translation_y" => Some(("translation_y", None)),
|
||||
"rotation" => Some(("rotation", None)),
|
||||
"scale" => Some(("scale", None)),
|
||||
"visibility" => Some(("visibility", None)),
|
||||
|
|
Loading…
Reference in a new issue