mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:35:06 +00:00
LibWeb: Fix copy/paste typo in CanvasRenderingContext2D::stroke_style()
This returned the fill style, not the stroke style!
This commit is contained in:
parent
ca093f442c
commit
6faaee2bc8
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ void CanvasRenderingContext2D::set_stroke_style(String style)
|
|||
|
||||
String CanvasRenderingContext2D::stroke_style() const
|
||||
{
|
||||
return m_fill_style.to_string();
|
||||
return m_stroke_style.to_string();
|
||||
}
|
||||
|
||||
void CanvasRenderingContext2D::stroke_rect(float x, float y, float width, float height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue