mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Prefix crop validation error messages
This commit is contained in:
+1
-1
@@ -1126,7 +1126,7 @@ export class CanvasSink {
|
||||
throw new TypeError('options.rotation, when provided, must be 0, 90, 180 or 270.');
|
||||
}
|
||||
if (options.crop !== undefined) {
|
||||
validateCropRectangle(options.crop);
|
||||
validateCropRectangle(options.crop, 'options.');
|
||||
}
|
||||
if (
|
||||
options.poolSize !== undefined
|
||||
|
||||
Reference in New Issue
Block a user