We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce8303f commit 21564cfCopy full SHA for 21564cf
src/style_propetries/visibility.rs
@@ -42,7 +42,7 @@ impl From<(String, &Property<'_>)> for Visibility {
42
impl ToExpr for Visibility {
43
fn to_expr(&self) -> PropertyTuple {
44
PropertyTuple::One(
45
- CSSPropertyType::Display,
+ CSSPropertyType::Visibility,
46
match &self.value {
47
EnumValue::Visible => generate_expr_enum!(style_property_enum::ArkUI_Visibility::ARKUI_VISIBILITY_VISIBLE),
48
EnumValue::Hidden => generate_expr_enum!(style_property_enum::ArkUI_Visibility::ARKUI_VISIBILITY_HIDDEN),
0 commit comments