mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-06 11:06:58 +03:00
Add tooltip to submit feedback button
This commit is contained in:
parent
ef16963772
commit
654ee48feb
@ -481,6 +481,13 @@ impl View for SubmitFeedbackButton {
|
|||||||
.aligned()
|
.aligned()
|
||||||
.contained()
|
.contained()
|
||||||
.with_margin_left(theme.feedback.button_margin)
|
.with_margin_left(theme.feedback.button_margin)
|
||||||
|
.with_tooltip::<Self, _>(
|
||||||
|
0,
|
||||||
|
"cmd-s".into(),
|
||||||
|
Some(Box::new(SubmitFeedback)),
|
||||||
|
theme.tooltip.clone(),
|
||||||
|
cx,
|
||||||
|
)
|
||||||
.boxed()
|
.boxed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user