mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
fixed doc code example
This commit is contained in:
@@ -151,7 +151,7 @@ impl MessageData for DockingManagerMessage {}
|
||||
/// docking_manager_handle: Handle<UiNode>,
|
||||
/// ) -> Option<DockingManagerLayoutDescriptor> {
|
||||
/// ui.try_get_of_type::<DockingManager>(docking_manager_handle)
|
||||
/// .as_ref()
|
||||
/// .as_ref().ok()
|
||||
/// .map(|docking_manager| docking_manager.layout(ui))
|
||||
/// }
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user