We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3105c69 commit 2db6842Copy full SHA for 2db6842
1 file changed
apps/desktop/src/routes/screenshot-editor/Editor.tsx
@@ -215,17 +215,17 @@ function Dialogs() {
215
const existingCrop = cropDialog().currentCrop;
216
const initialBounds = existingCrop
217
? {
218
- x: existingCrop.position.x,
219
- y: existingCrop.position.y,
220
- width: existingCrop.size.x,
221
- height: existingCrop.size.y,
222
- }
+ x: existingCrop.position.x,
+ y: existingCrop.position.y,
+ width: existingCrop.size.x,
+ height: existingCrop.size.y,
+ }
223
: {
224
- x: 0,
225
- y: 0,
226
- width: originalSize.x,
227
- height: originalSize.y,
228
- };
+ x: 0,
+ y: 0,
+ width: originalSize.x,
+ height: originalSize.y,
+ };
229
230
const [snapToRatio, setSnapToRatioEnabled] = makePersisted(
231
createSignal(true),
0 commit comments