Automatically include current view id in element state ids

This commit is contained in:
Max Brunsfeld 2022-02-17 13:43:58 -08:00
parent d2c1d0a670
commit 10580f96a3
13 changed files with 129 additions and 171 deletions

View file

@ -57,7 +57,7 @@ impl View for DiagnosticSummary {
let theme = &self.settings.borrow().theme.project_diagnostics;
let in_progress = self.in_progress;
MouseEventHandler::new::<Tag, _, _, _>(cx.view_id(), cx, |_, _| {
MouseEventHandler::new::<Tag, _, _>(0, cx, |_, _| {
if in_progress {
Label::new(
"Checking... ".to_string(),