From 00ea6180dc3941ca5428b9fe3594a825dcfa4532 Mon Sep 17 00:00:00 2001 From: Nathan Adams Date: Tue, 18 Jul 2023 21:57:54 +0200 Subject: [PATCH] avm2: Default line caps should be Round, not None --- core/src/avm2/globals/flash/display/graphics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/avm2/globals/flash/display/graphics.rs b/core/src/avm2/globals/flash/display/graphics.rs index 0b42eaddbaca..c34f83bfa418 100644 --- a/core/src/avm2/globals/flash/display/graphics.rs +++ b/core/src/avm2/globals/flash/display/graphics.rs @@ -276,7 +276,7 @@ fn caps_to_cap_style(caps: Option) -> LineCapStyle { LineCapStyle::Round } } else { - LineCapStyle::None + LineCapStyle::Round } }