From f30f6319103f8761d2f1907eadaea3dd00b94066 Mon Sep 17 00:00:00 2001 From: Ian Horn Date: Wed, 25 Nov 2026 11:25:50 -0500 Subject: [PATCH] fix(STAC): the search area's draw buttons are outlined like the rest of the UI Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01425amtdfYrrAXoQdy6q7ZD --- crates/ui-egui/src/stacui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/stacui.rs b/crates/ui-egui/src/stacui.rs index e9ce4629a5..f54e57ff63 100644 --- a/crates/ui-egui/src/stacui.rs +++ b/crates/ui-egui/src/stacui.rs @@ -1459,7 +1459,7 @@ fn area_buttons(ui: &mut egui::Ui, st: &mut State, ask: &mut Option) { let reading = st.loading.as_ref().map(|(what, _)| what.clone()); ui.horizontal_wrapped(|ui| { for (shape, label) in DRAW { - if ui.selectable_label(st.drawing == Some(shape), tl!(label)).clicked() { + if ui.add(egui::Button::new(tl!(label)).selected(st.drawing == Some(shape))).clicked() { *ask = Some(AreaAsk::Draw(shape)); } }