fix function call in wallpaper cropper
This commit is contained in:
@@ -94,7 +94,7 @@ Item {
|
|||||||
const finalRect = Qt.rect(cropXPercent, cropYPercent, cropWidthPercent, cropHeightPercent);
|
const finalRect = Qt.rect(cropXPercent, cropYPercent, cropWidthPercent, cropHeightPercent);
|
||||||
|
|
||||||
// We just pass the percentages directly to the backend
|
// We just pass the percentages directly to the backend
|
||||||
Wallpapers.setCrop(delegate.modelData.name, finalRect, finalRect, cropRect.zoom);
|
Wallpapers.setCrop(delegate.modelData.name, finalRect, cropRect.zoom);
|
||||||
}
|
}
|
||||||
|
|
||||||
function zoomClipRect(zoom: real): void {
|
function zoomClipRect(zoom: real): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user