Fix windows build (#109)
This commit is contained in:
parent
7813938605
commit
e7a0d13b69
2 changed files with 1 additions and 3 deletions
|
|
@ -8,7 +8,6 @@ use std::ops::Range;
|
|||
use super::blink_cursor::BlinkCursor;
|
||||
use super::history::History;
|
||||
use crate::button::{Button, ButtonStyle};
|
||||
use crate::context_menu::ContextMenuExt;
|
||||
use crate::indicator::Indicator;
|
||||
use crate::styled_ext::StyleSized;
|
||||
use crate::theme::ActiveTheme;
|
||||
|
|
@ -991,7 +990,6 @@ impl Element for TextElement {
|
|||
|
||||
impl Render for TextInput {
|
||||
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
|
||||
let focus_handle = self.focus_handle.clone();
|
||||
let focused = self.focus_handle.is_focused(cx);
|
||||
|
||||
let prefix = self.prefix.as_ref().map(|build| build(cx));
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
gpui.workspace = true
|
||||
ui.workspace = true
|
||||
anyhow.workspace = true
|
||||
windows = "0.57.0"
|
||||
windows = { version = "0.57.0", features = ["Wdk", "Wdk_System", "Wdk_System_SystemServices"] }
|
||||
schemars = "0.7.0"
|
||||
parking_lot = "0.12.1"
|
||||
serde = "1.0.203"
|
||||
|
|
|
|||
Loading…
Reference in a new issue