mirror of
https://github.com/microsoft/edit.git
synced 2026-06-14 06:43:49 -05:00
Fix soft deadlock when ICU is missing
This commit is contained in:
@@ -382,7 +382,10 @@ fn draw(ctx: &mut Context, state: &mut State) {
|
||||
let root_focused = ctx.contains_focus();
|
||||
|
||||
draw_menubar(ctx, state);
|
||||
if state.wants_search.kind != StateSearchKind::Hidden {
|
||||
if !matches!(
|
||||
state.wants_search.kind,
|
||||
StateSearchKind::Hidden | StateSearchKind::Disabled
|
||||
) {
|
||||
draw_search(ctx, state);
|
||||
}
|
||||
draw_editor(ctx, state);
|
||||
|
||||
Reference in New Issue
Block a user