mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
LibWeb: Ensure segments are copied only once in set_line_dash
This commit is contained in:
parent
be979a1e65
commit
134dc57458
|
|
@ -87,7 +87,7 @@ public:
|
|||
segments.extend(segments);
|
||||
|
||||
// 3. Let the object's dash list be segments.
|
||||
my_drawing_state().dash_list = segments;
|
||||
my_drawing_state().dash_list = move(segments);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-getlinedash
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user