avm1: lineStyle scale mode defaults to normal

This commit is contained in:
Mike Welsh 2022-07-17 13:15:49 -07:00
parent 1980d6f420
commit ef838a3536
1 changed files with 2 additions and 2 deletions

View File

@ -261,10 +261,10 @@ fn line_style<'gc>(
.and_then(|v| v.coerce_to_string(activation).ok()) .and_then(|v| v.coerce_to_string(activation).ok())
.as_deref() .as_deref()
{ {
Some(v) if v == b"normal" => (true, true), Some(v) if v == b"none" => (false, false),
Some(v) if v == b"vertical" => (true, false), Some(v) if v == b"vertical" => (true, false),
Some(v) if v == b"horizontal" => (false, true), Some(v) if v == b"horizontal" => (false, true),
_ => (false, false), _ => (true, true),
}; };
let cap_style = match args let cap_style = match args
.get(5) .get(5)