Fix cursor focus and selection in input box, add AWS env var warning box, and remove AWS Bedrock login banner
This commit is contained in:
@@ -81,11 +81,9 @@ impl InlineDiffView {
|
||||
CodeEditorEvent::UnifiedDiffComputed(diff) => {
|
||||
ctx.emit(InlineDiffViewEvent::DiffAccepted { diff: diff.clone() });
|
||||
}
|
||||
CodeEditorEvent::ContentChanged { origin } => {
|
||||
if origin.from_user() && !me.was_edited {
|
||||
me.was_edited = true;
|
||||
ctx.emit(InlineDiffViewEvent::UserEdited);
|
||||
}
|
||||
CodeEditorEvent::ContentChanged { origin } if origin.from_user() && !me.was_edited => {
|
||||
me.was_edited = true;
|
||||
ctx.emit(InlineDiffViewEvent::UserEdited);
|
||||
}
|
||||
_ => {}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user