Add tooltip to submit feedback button
This commit is contained in:
parent
ef16963772
commit
654ee48feb
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue