Render a context menu when right-clicking in project panel
It doesn't currently do anything, but I managed to get it rendering in an absolutely positioned way.
This commit is contained in:
committed by
Antonio Scandurra
parent
f4d13ef596
commit
b110fd5fb7
@@ -159,7 +159,7 @@ impl View for DiagnosticIndicator {
|
||||
.boxed()
|
||||
})
|
||||
.with_cursor_style(CursorStyle::PointingHand)
|
||||
.on_click(|_, cx| cx.dispatch_action(crate::Deploy))
|
||||
.on_click(|_, _, cx| cx.dispatch_action(crate::Deploy))
|
||||
.aligned()
|
||||
.boxed(),
|
||||
);
|
||||
@@ -192,7 +192,7 @@ impl View for DiagnosticIndicator {
|
||||
.boxed()
|
||||
})
|
||||
.with_cursor_style(CursorStyle::PointingHand)
|
||||
.on_click(|_, cx| cx.dispatch_action(GoToNextDiagnostic))
|
||||
.on_click(|_, _, cx| cx.dispatch_action(GoToNextDiagnostic))
|
||||
.boxed(),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user