Skip to content

Commit 891c66b

Browse files
committed
Make the text module public
closes #776
1 parent 3b3d7a0 commit 891c66b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

druid/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ mod menu;
127127
mod mouse;
128128
#[cfg(test)]
129129
mod tests;
130-
mod text;
130+
pub mod text;
131131
pub mod theme;
132132
pub mod widget;
133133
mod win_handler;

druid/src/text/text_input.rs

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ pub trait TextInput {
5353

5454
/// Handles key events and returns actions that are applicable to
5555
/// single line textboxes
56+
#[derive(Default)]
5657
pub struct BasicTextInput {}
5758

5859
impl BasicTextInput {

0 commit comments

Comments
 (0)