mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 21:32:40 +00:00
Update workspace.rs
This commit is contained in:
parent
98781eabf6
commit
47fd93de8d
1 changed files with 1 additions and 1 deletions
|
@ -2189,7 +2189,7 @@ impl Workspace {
|
||||||
|
|
||||||
fn render_disconnected_overlay(&self, cx: &mut RenderContext<Workspace>) -> Option<ElementBox> {
|
fn render_disconnected_overlay(&self, cx: &mut RenderContext<Workspace>) -> Option<ElementBox> {
|
||||||
if self.project.read(cx).is_read_only() {
|
if self.project.read(cx).is_read_only() {
|
||||||
enum DisconnectedOverlay {};
|
enum DisconnectedOverlay {}
|
||||||
Some(
|
Some(
|
||||||
MouseEventHandler::new::<DisconnectedOverlay, _, _>(0, cx, |_, cx| {
|
MouseEventHandler::new::<DisconnectedOverlay, _, _>(0, cx, |_, cx| {
|
||||||
let theme = &cx.global::<Settings>().theme;
|
let theme = &cx.global::<Settings>().theme;
|
||||||
|
|
Loading…
Reference in a new issue