mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb/Canvas: Correctly return globalCompositeOperation
This fixes a bug that caused the retrieved `globalCompositeOperation` to contain quotes.
This commit is contained in:
parent
f672c57ca7
commit
64a234c0df
Notes:
github-actions[bot]
2025-02-24 13:57:03 +00:00
Author: https://github.com/skyz1
Commit: 64a234c0df
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3678
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 179 additions and 1 deletions
|
@ -796,7 +796,7 @@ String CanvasRenderingContext2D::global_composite_operation() const
|
|||
#undef __ENUMERATE
|
||||
#define __ENUMERATE(operation, compositing_and_blending_operator) \
|
||||
case Gfx::CompositingAndBlendingOperator::compositing_and_blending_operator: \
|
||||
return #operation##_string;
|
||||
return operation##_string;
|
||||
ENUMERATE_COMPOSITE_OPERATIONS(__ENUMERATE)
|
||||
#undef __ENUMERATE
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue