widget: ComboBoxItemState cleanup

* remove duplicate definition assignment for
  `build_context.register_shared_property::<f32>
Signed-off-by: default avatarRalf Zerres <ralf.zerres@networkx.de>
parent 59625be1
......@@ -95,11 +95,6 @@ impl State for ComboBoxItemState {
selected_content,
self.combo_box,
);
build_context.register_shared_property::<f32>(
"opacity",
selected_content,
self.combo_box,
);
build_context.register_shared_property::<f64>(
"font_size",
selected_content,
......@@ -213,7 +208,8 @@ impl Template for ComboBoxItem {
}
}
/// The `ComboBoxState` is used to manipulate the position of the thumb of the slider widget.
/// The `ComboBoxState` is used to manipulate the thumb position
/// inside the popup widget, that is annotated with a slider.
#[derive(Default, AsAny)]
pub struct ComboBoxState {
popup: Entity,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment