From fc4b51b20f3b59aa38d65f4be15fedd93242249f Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 28 Mar 2023 02:40:15 +0900 Subject: [PATCH] chore: fix typo in display_object.rs defualt -> default --- core/src/display_object.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/display_object.rs b/core/src/display_object.rs index 47d67a32f..85b851ca6 100644 --- a/core/src/display_object.rs +++ b/core/src/display_object.rs @@ -96,7 +96,7 @@ pub struct DisplayObjectBase<'gc> { maskee: Option>, /// The blend mode used when rendering this display object. - /// Values other than the defualt `BlendMode::Normal` implicitly cause cache-as-bitmap behavior. + /// Values other than the default `BlendMode::Normal` implicitly cause cache-as-bitmap behavior. #[collect(require_static)] blend_mode: BlendMode, @@ -1164,13 +1164,13 @@ pub trait TDisplayObject<'gc>: } /// The blend mode used when rendering this display object. - /// Values other than the defualt `BlendMode::Normal` implicitly cause cache-as-bitmap behavior. + /// Values other than the default `BlendMode::Normal` implicitly cause cache-as-bitmap behavior. fn blend_mode(&self) -> BlendMode { self.base().blend_mode() } /// Sets the blend mode used when rendering this display object. - /// Values other than the defualt `BlendMode::Normal` implicitly cause cache-as-bitmap behavior. + /// Values other than the default `BlendMode::Normal` implicitly cause cache-as-bitmap behavior. fn set_blend_mode(&self, gc_context: MutationContext<'gc, '_>, value: BlendMode) { self.base_mut(gc_context).set_blend_mode(value); }