mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Patch for beachball on disconnected overlay, permanent fix to MouseRegion API is a part of the Dock PR.
Co-Authored-By: Keith <keith@zed.dev>
This commit is contained in:
parent
6a131c9a11
commit
bf1c341f5f
1 changed files with 2 additions and 1 deletions
|
@ -2189,8 +2189,9 @@ impl Workspace {
|
|||
|
||||
fn render_disconnected_overlay(&self, cx: &mut RenderContext<Workspace>) -> Option<ElementBox> {
|
||||
if self.project.read(cx).is_read_only() {
|
||||
enum DisconnectedOverlay {};
|
||||
Some(
|
||||
MouseEventHandler::new::<Workspace, _, _>(0, cx, |_, cx| {
|
||||
MouseEventHandler::new::<DisconnectedOverlay, _, _>(0, cx, |_, cx| {
|
||||
let theme = &cx.global::<Settings>().theme;
|
||||
Label::new(
|
||||
"Your connection to the remote project has been lost.".to_string(),
|
||||
|
|
Loading…
Reference in a new issue