(data: &SceneNodeData, field: &str)
| 2784 | resize_cursor_icon(&drag) |
| 2785 | }; |
| 2786 | } |
| 2787 | |
| 2788 | let mode = with_state!(ctx.run, EditorState, ctx.id, |state| { |
| 2789 | state.viewport_mode.clone() |
| 2790 | }).unwrap_or_default(); |
| 2791 | if mode != "UI" { |
| 2792 | return CursorIcon::Default; |
| 2793 | } |
no test coverage detected