diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/application.rs | 2 | ||||
-rw-r--r-- | src/settings.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/application.rs b/src/application.rs index a569163b..374810cb 100644 --- a/src/application.rs +++ b/src/application.rs @@ -178,7 +178,7 @@ pub trait Application: Sized { _settings.into(), iced_wgpu::Settings { default_font: _settings.default_font, - antialiasing: if _settings.use_antialiasing { + antialiasing: if _settings.antialiasing { Some(iced_wgpu::settings::Antialiasing::MSAAx4) } else { None 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"))] |