Commit 0f2ff40
New Cropper across the app (#1079)
* New Cropper, updated CaptureArea window
* Fix capture-area nswindow layer, close button on CapErrorBoundary, Remove haptics toggle
* Remove unused CropAreaRenderer and Box.
* Add default capability "core:resources:allow-close" to properly close menus
* Properly disable Confirm button when crop size is too small
* Cropper double click,
* Use new cropper in target-select-overlay
* Don't fill when double clicking selected region. Only the container
* oops
* Ensure editor project has a first segment in editor cropper, better invalid cropper state error message
* Delete canvas.ts
* Remove unused calculations in Cropper
* Add hard minSize to target-select-overlay cropper, apply ratio snapping after size constraint checks
* Ensure the new selection controls can't go under the notch on macos
* Update tauri.ts
* Update general.tsx
* nit
* move event def to Rust
* (Fix) Use the new cropper again in target-select-overlay
* Cropper: Stop resizing in aspect ratio mode towards the opposite side.
* Add alt mode indicator
* fix the close button i broke
* Add minimum size warning
* Ensure `createKeyDownSignal` handles blur event
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Fix "ResizeObserver loop completed with undelivered notifications."
* biome
* render latest frame in the cropper and pause playback when opening it
* some tweaks
* rendering current would have drawbacks
* ts
* use named export + attach pointermove to window instead of container
* formatting
* final fixes
---------
Co-authored-by: ameer2468 <[email protected]>
Co-authored-by: Richie McIlroy <[email protected]>
Co-authored-by: Oscar Beaumont <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <[email protected]>1 parent 3af8741 commit 0f2ff40
File tree
22 files changed
+2112
-2174
lines changed- apps/desktop
- src-tauri
- capabilities
- src
- platform
- src
- components
- routes
- (window-chrome)
- settings
- editor
- utils
- packages/ui-solid/src
22 files changed
+2112
-2174
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
| |||
166 | 164 | | |
167 | 165 | | |
168 | 166 | | |
169 | | - | |
170 | 167 | | |
171 | 168 | | |
172 | 169 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
288 | 291 | | |
289 | 292 | | |
290 | 293 | | |
| |||
1920 | 1923 | | |
1921 | 1924 | | |
1922 | 1925 | | |
| 1926 | + | |
1923 | 1927 | | |
1924 | 1928 | | |
1925 | 1929 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| 581 | + | |
581 | 582 | | |
582 | 583 | | |
583 | 584 | | |
| |||
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
611 | | - | |
| 612 | + | |
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| |||
This file was deleted.
0 commit comments