File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ class TaskfileService {
296296 const currentTime = Date . now ( ) ;
297297 const doubleClicked = this . previousSelection !== undefined && this . previousSelectionTimestamp !== undefined
298298 && this . previousSelection === task . name
299- && ( currentTime - this . previousSelectionTimestamp ) < settings . doubleClickToRun ;
299+ && ( currentTime - this . previousSelectionTimestamp ) < settings . doubleClickTimeout ;
300300 if ( doubleClicked ) {
301301 this . previousSelection = undefined ;
302302 this . previousSelectionTimestamp = undefined ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class Settings {
77 public path ! : string ;
88 public outputTo ! : OutputTo ;
99 public checkForUpdates ! : boolean ;
10- public doubleClickToRun ! : number ;
10+ public doubleClickTimeout ! : number ;
1111 public tree ! : TreeSettings ;
1212 public terminal ! : TerminalSettings ;
1313
@@ -31,7 +31,7 @@ class Settings {
3131 this . path = config . get ( "path" ) ?? "task" ;
3232 this . outputTo = config . get ( "outputTo" ) ?? OutputTo . output ;
3333 this . checkForUpdates = config . get ( "checkForUpdates" ) ?? true ;
34- this . doubleClickToRun = config . get ( "doubleClickToRun " ) ?? 500 ;
34+ this . doubleClickTimeout = config . get ( "doubleClickTimeout " ) ?? 500 ;
3535 this . tree = new TreeSettings ( ) ;
3636 this . terminal = new TerminalSettings ( ) ;
3737 }
You can’t perform that action at this time.
0 commit comments