mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-26 15:55:35 +00:00
fix copilot issues
This commit is contained in:
@@ -269,8 +269,8 @@ function ExtensionSettingsSection({
|
||||
value={typeof value === "number" ? value : (field.defaultValue as number)}
|
||||
defaultValue={field.defaultValue as number}
|
||||
min={field.min ?? 0}
|
||||
max={field.max ?? 100}
|
||||
step={field.step ?? 1}
|
||||
max={field.max ?? 1}
|
||||
step={field.step ?? 0.01}
|
||||
onChange={(v) => {
|
||||
extensionHost.setExtensionSetting(extensionId, field.id, v);
|
||||
forceUpdate((n) => n + 1);
|
||||
|
||||
@@ -145,7 +145,7 @@ export class ExtensionHost {
|
||||
>();
|
||||
private listeners = new Set<() => void>();
|
||||
private fullSettingsStore: Record<string, Record<string, unknown>> | null = null;
|
||||
private persistTimeout: any = null;
|
||||
private persistTimeout: ReturnType<typeof setTimeout> | null = null;
|
||||
private iconPathCache = new Map<string, Path2D>();
|
||||
|
||||
// Shared playback/project state — set by the app, queried by extensions
|
||||
|
||||
Reference in New Issue
Block a user