From 654ee48feb899667cbeb8979ceb363b2fad3e86f Mon Sep 17 00:00:00 2001 From: Joseph Lyons Date: Wed, 8 Feb 2023 10:37:04 -0500 Subject: [PATCH] Add tooltip to submit feedback button --- crates/feedback/src/feedback_editor.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/crates/feedback/src/feedback_editor.rs b/crates/feedback/src/feedback_editor.rs index 932fc64f31..21932107e4 100644 --- a/crates/feedback/src/feedback_editor.rs +++ b/crates/feedback/src/feedback_editor.rs @@ -481,6 +481,13 @@ impl View for SubmitFeedbackButton { .aligned() .contained() .with_margin_left(theme.feedback.button_margin) + .with_tooltip::( + 0, + "cmd-s".into(), + Some(Box::new(SubmitFeedback)), + theme.tooltip.clone(), + cx, + ) .boxed() } }