Commit cbeb6af
committed
navigation: Allow click event handling into an inactive pane if
that pane has no selected files.
- If there is no selection in the inactive pane, continue processing
the event like normal. This will also 'activate' the pane for us.
- Some cleanup to use proper event-handling return values in the
surrounding code.
Navigating between active and inactive panes (like in the
split-view mode) can be frustrating because clicking into an
inactive pane will only 'activate' it, and not select anything.
This is to preserve any existing file selection in that pane's
view.1 parent a3f0a31 commit cbeb6af
2 files changed
+11
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2323 | 2323 | | |
2324 | 2324 | | |
2325 | 2325 | | |
2326 | | - | |
| 2326 | + | |
2327 | 2327 | | |
2328 | | - | |
| 2328 | + | |
2329 | 2329 | | |
2330 | 2330 | | |
2331 | | - | |
| 2331 | + | |
2332 | 2332 | | |
2333 | 2333 | | |
2334 | 2334 | | |
2335 | 2335 | | |
2336 | 2336 | | |
2337 | | - | |
2338 | 2337 | | |
2339 | 2338 | | |
2340 | 2339 | | |
2341 | | - | |
| 2340 | + | |
2342 | 2341 | | |
2343 | 2342 | | |
2344 | 2343 | | |
2345 | | - | |
| 2344 | + | |
2346 | 2345 | | |
2347 | 2346 | | |
2348 | 2347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1096 | 1096 | | |
1097 | 1097 | | |
1098 | 1098 | | |
1099 | | - | |
| 1099 | + | |
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
1113 | | - | |
| 1113 | + | |
1114 | 1114 | | |
1115 | 1115 | | |
1116 | 1116 | | |
1117 | | - | |
| 1117 | + | |
1118 | 1118 | | |
1119 | 1119 | | |
1120 | | - | |
| 1120 | + | |
1121 | 1121 | | |
1122 | 1122 | | |
1123 | | - | |
| 1123 | + | |
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
| |||
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
1283 | | - | |
| 1283 | + | |
1284 | 1284 | | |
1285 | 1285 | | |
1286 | 1286 | | |
| |||
0 commit comments