avm1: lineStyle scale mode defaults to normal
This commit is contained in:
parent
1980d6f420
commit
ef838a3536
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue