summaryrefslogtreecommitdiffstats
path: root/pure/src/widget/text_input.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-07 15:29:43 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-07 15:29:43 +0700
commitc35496d80fc542c9beeea39dec98eb5cdef07aaa (patch)
tree62f28fabf631f33a1a94fb25fa076b44140adbe4 /pure/src/widget/text_input.rs
parent820d332736205c7485d08352841b705205130f38 (diff)
parentaf7cbf0003496d757696ea6e15ea32f0649cf8f9 (diff)
downloadiced-c35496d80fc542c9beeea39dec98eb5cdef07aaa.tar.gz
iced-c35496d80fc542c9beeea39dec98eb5cdef07aaa.tar.bz2
iced-c35496d80fc542c9beeea39dec98eb5cdef07aaa.zip
Merge branch 'master' into virtual-widgets
Diffstat (limited to 'pure/src/widget/text_input.rs')
-rw-r--r--pure/src/widget/text_input.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/pure/src/widget/text_input.rs b/pure/src/widget/text_input.rs
index 40ce140c..dec11164 100644
--- a/pure/src/widget/text_input.rs
+++ b/pure/src/widget/text_input.rs
@@ -7,9 +7,7 @@ use iced_native::mouse;
use iced_native::renderer;
use iced_native::text;
use iced_native::widget::text_input;
-use iced_native::{
- Clipboard, Hasher, Length, Padding, Point, Rectangle, Shell,
-};
+use iced_native::{Clipboard, Length, Padding, Point, Rectangle, Shell};
pub use iced_style::text_input::StyleSheet;
@@ -153,10 +151,6 @@ where
Length::Shrink
}
- fn hash_layout(&self, state: &mut Hasher) {
- text_input::hash_layout(state, self.width, self.padding, self.size);
- }
-
fn layout(
&self,
renderer: &Renderer,