fix: update default playhead fps to 30
This commit is contained in:
+1
-1
@@ -367,7 +367,7 @@ export class KGCore {
|
||||
|
||||
// Get playhead update frequency from config (in fps)
|
||||
const configManager = ConfigManager.instance();
|
||||
const updateFrequency = (configManager.get('editor.playhead_update_frequency') as number) ?? 10;
|
||||
const updateFrequency = (configManager.get('editor.playhead_update_frequency') as number) ?? 30;
|
||||
const updateIntervalMs = 1000 / updateFrequency; // Convert fps to milliseconds
|
||||
|
||||
this.playbackIntervalId = window.setInterval(() => {
|
||||
|
||||
@@ -253,7 +253,7 @@ export class ConfigManager {
|
||||
},
|
||||
},
|
||||
editor: {
|
||||
playhead_update_frequency: 10,
|
||||
playhead_update_frequency: 30,
|
||||
spectrogram_height_resolution: 3
|
||||
},
|
||||
chatbox: {
|
||||
|
||||
Reference in New Issue
Block a user