Fossil

Check-in [5257960080]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Cancel default actions and further bubbling of handled keys, in case of conflicts with browser (extension) defaults.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | timeline-keyboard-navigation
Files: files | file ages | folders
SHA3-256: 5257960080ee1668190af9f946fe647baeff933c66aeb2e6baf0ea933ae1267e
User & Date: florian 2022-08-14 08:07:00.000
Context
2022-08-14
08:16
Comment and TODO updates. ... (check-in: cfed59c9d1 user: florian tags: timeline-keyboard-navigation)
08:07
Cancel default actions and further bubbling of handled keys, in case of conflicts with browser (extension) defaults. ... (check-in: 5257960080 user: florian tags: timeline-keyboard-navigation)
08:03
Fix the shortcut handler to cycle between selected, check-out and ticked entries getting stuck, and give highest priority to ticked entries. ... (check-in: b6a656b520 user: florian tags: timeline-keyboard-navigation)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/graph.js.
1021
1022
1023
1024
1025
1026
1027
1028



1029

1030
1031
1032
1033
1034
1035
1036
        case kTICK:
        case kUNTK:
        case kCPYH:
        case kCPYB:
        case kTMLN:
        case kTMLB:
        case kVIEW:
        case kDONE: break;



        default: return;

      }
      if( key==kCNTR ){
        var cid = focusViewportCenterId();
        if( cid ){
          focusCacheSet(cid);
          focusVisualize(cid,false);
          focusCookieInit();







|
>
>
>
|
>







1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
        case kTICK:
        case kUNTK:
        case kCPYH:
        case kCPYB:
        case kTMLN:
        case kTMLB:
        case kVIEW:
        case kDONE:
          evt.preventDefault();
          evt.stopPropagation();
          break;
        default:
          return;
      }
      if( key==kCNTR ){
        var cid = focusViewportCenterId();
        if( cid ){
          focusCacheSet(cid);
          focusVisualize(cid,false);
          focusCookieInit();