errors, icons
@@ -62,7 +62,6 @@ process.env.VITE_PUBLIC = VITE_DEV_SERVER_URL ? path.join(process.env.APP_ROOT,
|
||||
let mainWindow: BrowserWindow | null = null
|
||||
let sourceSelectorWindow: BrowserWindow | null = null
|
||||
let tray: Tray | null = null
|
||||
let isRecording = false
|
||||
let selectedSourceName = ''
|
||||
|
||||
function createWindow() {
|
||||
@@ -148,7 +147,7 @@ app.whenReady().then(async () => {
|
||||
() => mainWindow,
|
||||
() => sourceSelectorWindow,
|
||||
(recording: boolean, sourceName: string) => {
|
||||
isRecording = recording
|
||||
// removed unused assignment to _isRecording
|
||||
selectedSourceName = sourceName
|
||||
if (recording) {
|
||||
if (!tray) createTray();
|
||||
|
||||
|
After Width: | Height: | Size: 230 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 685 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 86 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 353 KiB |
@@ -43,6 +43,8 @@ interface SettingsPanelProps {
|
||||
onExport?: () => void;
|
||||
}
|
||||
|
||||
export default SettingsPanel;
|
||||
|
||||
const ZOOM_DEPTH_OPTIONS: Array<{ depth: ZoomDepth; label: string }> = [
|
||||
{ depth: 1, label: "1.25×" },
|
||||
{ depth: 2, label: "1.5×" },
|
||||
|
||||
@@ -12,7 +12,7 @@ interface ItemProps {
|
||||
onSelect?: () => void;
|
||||
}
|
||||
|
||||
export default function Item({ id, span, rowId, isSelected = false, onSelect }: ItemProps) {
|
||||
export default function Item({ id, span, rowId, isSelected: _isSelected = false, onSelect }: ItemProps) {
|
||||
const { setNodeRef, attributes, listeners, itemStyle, itemContentStyle } = useItem({
|
||||
id,
|
||||
span,
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import { cn } from "@/lib/utils";
|
||||
interface SubrowProps {
|
||||
children: React.ReactNode;
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ export default function TimelineWrapper({
|
||||
onRangeChange,
|
||||
minItemDurationMs,
|
||||
minVisibleRangeMs,
|
||||
gridSizeMs,
|
||||
gridSizeMs: _gridSizeMs,
|
||||
onItemSpanChange,
|
||||
}: TimelineWrapperProps) {
|
||||
const totalMs = Math.max(0, Math.round(videoDuration * 1000));
|
||||
|
||||
@@ -104,7 +104,7 @@ export class VideoExporter {
|
||||
};
|
||||
videoElement.addEventListener('seeked', onSeeked, { once: true });
|
||||
}),
|
||||
new Promise(resolve => setTimeout(resolve, 250)) // higher is slower but better capture
|
||||
new Promise(resolve => setTimeout(resolve, 200)) // higher is slower but better capture
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||