Commit 7a7f681
committed
π οΈ fix: mainWindow reload on upload-video error in Electron app
π style: adjust floating window height and refactor Floating component styles
β feat: replace PauseIcon with StopCircle from lucide-react in Floating component
- In the Electron main process, added a line to reload the mainWindow in the event of an upload-video error. This ensures the UI is refreshed and can handle the error more gracefully.
- Adjusted the floating window's height from 130px to 140px to better accommodate UI elements.
- Refactored the Floating component by importing styles consistently with double quotes, adding the `StopCircle` icon from `lucide-react` for a more intuitive UI, and removing the unused `PauseIcon`. This improves code readability and user interaction with the recording controls.1 parent 0a42e6b commit 7a7f681
2 files changed
Lines changed: 8 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
468 | 468 | | |
469 | 469 | | |
470 | 470 | | |
| 471 | + | |
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
| |||
847 | 848 | | |
848 | 849 | | |
849 | 850 | | |
850 | | - | |
| 851 | + | |
851 | 852 | | |
852 | 853 | | |
853 | 854 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 29 | | |
49 | 30 | | |
50 | 31 | | |
| |||
82 | 63 | | |
83 | 64 | | |
84 | 65 | | |
85 | | - | |
86 | | - | |
87 | 66 | | |
88 | 67 | | |
89 | 68 | | |
90 | 69 | | |
91 | | - | |
| 70 | + | |
92 | 71 | | |
93 | | - | |
| 72 | + | |
94 | 73 | | |
95 | | - | |
| 74 | + | |
96 | 75 | | |
97 | 76 | | |
98 | 77 | | |
99 | 78 | | |
100 | 79 | | |
101 | 80 | | |
102 | | - | |
| 81 | + | |
103 | 82 | | |
104 | 83 | | |
105 | 84 | | |
| |||
0 commit comments