summaryrefslogtreecommitdiffstats
path: root/src/settings.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-18 09:54:24 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-18 09:54:24 +0100
commit6f7247ca13181bcdfe1a3065215c1b3204723b84 (patch)
treeb183e5403ef2003210e2445fad997f781c847e4c /src/settings.rs
parent9c067562fa765cfc49d09cd9b12fbba96d5619fa (diff)
downloadiced-6f7247ca13181bcdfe1a3065215c1b3204723b84.tar.gz
iced-6f7247ca13181bcdfe1a3065215c1b3204723b84.tar.bz2
iced-6f7247ca13181bcdfe1a3065215c1b3204723b84.zip
Rename `Settings::use_antialiasing` to `antialiasing`
Diffstat (limited to 'src/settings.rs')
-rw-r--r--src/settings.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings.rs b/src/settings.rs
index 757dc72f..32ec583c 100644
--- a/src/settings.rs
+++ b/src/settings.rs
@@ -17,14 +17,14 @@ pub struct Settings {
// TODO: Add `name` for web compatibility
pub default_font: Option<&'static [u8]>,
- /// If set to true, the renderer will try to use antialiasing for some
+ /// If set to true, the renderer will try to perform antialiasing for some
/// primitives.
///
/// Enabling it can produce a smoother result in some widgets, like the
/// `Canvas`, at a performance cost.
///
/// By default, it is disabled.
- pub use_antialiasing: bool,
+ pub antialiasing: bool,
}
#[cfg(not(target_arch = "wasm32"))]