mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
Fix up action derive
This commit is contained in:
parent
f23cc724d4
commit
741e11cc11
@ -10,11 +10,12 @@ use collections::HashMap;
|
||||
use editor::Editor;
|
||||
use futures::channel::oneshot;
|
||||
use gpui::{
|
||||
action, actions, div, red, Action, AppContext, Component, Div, EventEmitter,
|
||||
InteractiveComponent, ParentComponent as _, Render, Styled, Subscription, Task, View,
|
||||
ViewContext, VisualContext as _, WindowContext,
|
||||
actions, div, red, Action, AppContext, Component, Div, EventEmitter, InteractiveComponent,
|
||||
ParentComponent as _, Render, Styled, Subscription, Task, View, ViewContext,
|
||||
VisualContext as _, WindowContext,
|
||||
};
|
||||
use project::search::SearchQuery;
|
||||
use serde::Deserialize;
|
||||
use std::{any::Any, sync::Arc};
|
||||
|
||||
use ui::{h_stack, ButtonGroup, Icon, IconButton, IconElement};
|
||||
@ -25,7 +26,7 @@ use workspace::{
|
||||
Pane, ToolbarItemLocation, ToolbarItemView, Workspace,
|
||||
};
|
||||
|
||||
#[action]
|
||||
#[derive(PartialEq, Clone, Deserialize, Default, Action)]
|
||||
pub struct Deploy {
|
||||
pub focus: bool,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user