mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:27:35 +00:00
LibPDF: Accept floats as line dash pattern phases
This commit is contained in:
parent
95a804bc4e
commit
731676c041
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ RENDERER_HANDLER(set_dash_pattern)
|
|||
Vector<int> pattern;
|
||||
for (auto& element : *dash_array)
|
||||
pattern.append(element.to_int());
|
||||
state().line_dash_pattern = LineDashPattern { pattern, args[1].get<int>() };
|
||||
state().line_dash_pattern = LineDashPattern { pattern, args[1].to_int() };
|
||||
return {};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue