mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
fix top right border radius (#2522)
This commit is contained in:
@ -91,7 +91,7 @@ export class BoundCurves {
|
||||
? getCurvePoints(
|
||||
bounds.left + Math.min(topWidth, bounds.width + borderLeftWidth),
|
||||
bounds.top + borderTopWidth,
|
||||
topWidth > bounds.width + borderLeftWidth ? 0 : trh - borderLeftWidth,
|
||||
topWidth > bounds.width + borderRightWidth ? 0 : trh - borderRightWidth,
|
||||
trv - borderTopWidth,
|
||||
CORNER.TOP_RIGHT
|
||||
)
|
||||
|
Reference in New Issue
Block a user