Skip to content

Commit

Permalink
chore: fix typo in display_object.rs
Browse files Browse the repository at this point in the history
defualt -> default
  • Loading branch information
eltociear authored and relrelb committed Mar 27, 2023
1 parent 87dad70 commit fc4b51b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/display_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub struct DisplayObjectBase<'gc> {
maskee: Option<DisplayObject<'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.
#[collect(require_static)]
blend_mode: BlendMode,

Expand Down Expand Up @@ -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);
}
Expand Down

0 comments on commit fc4b51b

Please sign in to comment.