(
ctx: &mut ScriptContext<'_, API>,
)
| 536 | pub fn editor_text_box_has_focus<API: ScriptAPI + ?Sized>( |
| 537 | ctx: &mut ScriptContext<'_, API>, |
| 538 | ) -> bool { |
| 539 | with_state!(ctx.run, EditorState, ctx.id, |state| { |
| 540 | !state.focused_inspector_box.is_empty() |
| 541 | }).unwrap_or_default() |
| 542 | } |
| 543 | |
| 544 | pub fn commit_focused_inspector_box<API: ScriptAPI + ?Sized>( |
| 545 | ctx: &mut ScriptContext<'_, API>, |
| 546 | ) -> bool { |
| 547 | let name = with_state!(ctx.run, EditorState, ctx.id, |state| { |
no outgoing calls
no test coverage detected