File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 99 export let _onDescriptionKeyDown: (e : KeyboardEvent ) => void ;
1010 export let type: " blocking" | " blockedBy" ;
1111 export let accesskey: (key : string ) => string | null ;
12+ export let accesskeyLetter: string = ' ' ;
1213
1314 const MAX_SEARCH_RESULTS = 20 ;
1415
173174 on:keydown ={(e ) => taskKeydown (e )}
174175 on:focus ={onFocused }
175176 on:blur ={() => inputFocused = false }
176- accesskey ={accesskey (" b " )}
177+ accesskey ={accesskey (accesskeyLetter )}
177178 id =" {type }"
178179 class =" input"
179180 type =" text"
Original file line number Diff line number Diff line change 599599 <!-- --------------------------------------------------------------------------- -->
600600 <label for =" start" >Blocked B<span class =" accesskey" >y</span ></label >
601601 <Dependency type ="blockedBy" task ={task } editableTask ={editableTask } allTasks ={allTasks }
602- _onDescriptionKeyDown={_onDescriptionKeyDown } accesskey ={accesskey } />
602+ _onDescriptionKeyDown={_onDescriptionKeyDown } accesskey ={accesskey } accesskeyLetter = " y " />
603603
604604 <!-- --------------------------------------------------------------------------- -->
605605 <!-- Blocking Tasks -->
606606 <!-- --------------------------------------------------------------------------- -->
607607 <label for =" start" class =" accesskey-first" >Blocking</label >
608608 <Dependency type ="blocking" task ={task } editableTask ={editableTask } allTasks ={allTasks }
609- _onDescriptionKeyDown={_onDescriptionKeyDown } accesskey ={accesskey } />
609+ _onDescriptionKeyDown={_onDescriptionKeyDown } accesskey ={accesskey } accesskeyLetter = " B " />
610610 {:else }
611611 <div ><i >Blocking and blocked by fields are disabled when vault tasks is empty</i ></div >
612612 {/if }
You can’t perform that action at this time.
0 commit comments