summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-11 06:07:31 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-11 06:07:31 +0100
commit860a6923bbed57a21ce4b2cae331f6a3a51ca3fe (patch)
treeb179c26278ef95b6aa2520c1cef69b5fa264ebcf /core
parentd4d14b68f47e9527554a728ebbba9b840832626a (diff)
downloadiced-860a6923bbed57a21ce4b2cae331f6a3a51ca3fe.tar.gz
iced-860a6923bbed57a21ce4b2cae331f6a3a51ca3fe.tar.bz2
iced-860a6923bbed57a21ce4b2cae331f6a3a51ca3fe.zip
Split text measurements cache from rendering cache
This speeds up layouting in the most common scenario considerably! :tada:
Diffstat (limited to 'core')
-rw-r--r--core/src/widget/image.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/widget/image.rs b/core/src/widget/image.rs
index 7e1b1085..996ab5e1 100644
--- a/core/src/widget/image.rs
+++ b/core/src/widget/image.rs
@@ -1,6 +1,6 @@
//! Display images in your user interface.
-use crate::{Align, Length, Rectangle};
+use crate::{Length, Rectangle};
/// A frame that displays an image while keeping aspect ratio.
///