chore: Fix typos
This commit is contained in:
parent
6061186c0f
commit
dd083dd502
|
@ -21,7 +21,7 @@ pub struct TransformObject<'gc> {
|
||||||
impl<'gc> TransformObject<'gc> {
|
impl<'gc> TransformObject<'gc> {
|
||||||
fn new(activation: &mut Activation<'_, 'gc>, args: &[Value<'gc>]) -> Option<Self> {
|
fn new(activation: &mut Activation<'_, 'gc>, args: &[Value<'gc>]) -> Option<Self> {
|
||||||
let clip = match args {
|
let clip = match args {
|
||||||
// `Tranform` constructor accepts exactly 1 argument.
|
// `Transform` constructor accepts exactly 1 argument.
|
||||||
[Value::MovieClip(clip)] => Some(*clip),
|
[Value::MovieClip(clip)] => Some(*clip),
|
||||||
[Value::Object(clip)] => {
|
[Value::Object(clip)] => {
|
||||||
let stage_object = clip.as_stage_object()?;
|
let stage_object = clip.as_stage_object()?;
|
||||||
|
|
|
@ -746,7 +746,7 @@ impl<'gc> EditText<'gc> {
|
||||||
|
|
||||||
/// Relayout the `EditText`.
|
/// Relayout the `EditText`.
|
||||||
///
|
///
|
||||||
/// This function operats exclusively with the text-span representation of
|
/// This function operates exclusively with the text-span representation of
|
||||||
/// the text, and no higher-level representation. Specifically, CSS should
|
/// the text, and no higher-level representation. Specifically, CSS should
|
||||||
/// have already been calculated and applied to HTML trees lowered into the
|
/// have already been calculated and applied to HTML trees lowered into the
|
||||||
/// text-span representation.
|
/// text-span representation.
|
||||||
|
|
Loading…
Reference in New Issue