Skip to content

Commit a798465

Browse files
committed
fix: Apply Copilot review suggestions
- Remove debug console.log from initMobileGesture - Add explicit default initialization for enableScrollToActiveChar
1 parent 8199219 commit a798465

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/ts/hotkey.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ function focusQuery(query:string){
351351

352352

353353
export function initMobileGesture(){
354-
console.log('🚀 initMobileGesture called!')
355-
356354
let pressingPointers = new Map<number, {x:number, y:number}>()
357355

358356
document.addEventListener('touchstart', (ev) => {

src/ts/storage/database.svelte.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,7 @@ export function setDatabase(data:Database){
586586
}
587587
data.doNotChangeSeperateModels ??= false
588588
data.modelTools ??= []
589+
data.enableScrollToActiveChar ??= true
589590

590591
// Merge existing hotkeys with new default hotkeys
591592
if (!data.hotkeys) {

0 commit comments

Comments
 (0)