1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Chore: Implement cSpell to detect spelling mistakes in codebase (#10001)

Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
Co-authored-by: Henry Heino <46334387+personalizedrefrigerator@users.noreply.github.com>
This commit is contained in:
Laurent Cozic
2024-02-26 10:16:23 +00:00
committed by GitHub
parent 69cbd45782
commit 47f95cb294
187 changed files with 511 additions and 288 deletions

View File

@ -101,9 +101,9 @@ export default class JoplinImaging {
return this.cacheImage(resizedImage);
}
public async crop(handle: Handle, rectange: Rectangle) {
public async crop(handle: Handle, rectangle: Rectangle) {
const image = this.imageByHandle(handle);
const croppedImage = image.data.crop(rectange);
const croppedImage = image.data.crop(rectangle);
return this.cacheImage(croppedImage);
}