mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
LibWeb: SVG: T commands only take two coordinates
The shortcut for Bezier curves only takes two coordinates.
This commit is contained in:
parent
05be6481b7
commit
6e61532e06
Notes:
sideshowbarker
2024-07-19 02:50:27 +09:00
Author: https://github.com/danners Commit: https://github.com/SerenityOS/serenity/commit/6e61532e064 Pull-request: https://github.com/SerenityOS/serenity/pull/3434
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ void PathDataParser::parse_smooth_quadratic_bezier_curveto()
|
|||
parse_whitespace();
|
||||
|
||||
while (true) {
|
||||
m_instructions.append({ PathInstructionType::SmoothQuadraticBezierCurve, absolute, parse_coordinate_pair_double() });
|
||||
m_instructions.append({ PathInstructionType::SmoothQuadraticBezierCurve, absolute, parse_coordinate_pair() });
|
||||
parse_whitespace();
|
||||
if (!match_coordinate())
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue