We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e580a6 commit a2afd37Copy full SHA for a2afd37
src/profile-logic/tracks.js
@@ -771,8 +771,11 @@ export function initializeSelectedThreadIndex(
771
return visibleSelectedThreadIndexes;
772
}
773
774
-// Select either the GeckoMain [tab] thread, or the first thread in the thread
775
-// order.
+// Select either the most active GeckoMain [tab] thread, or the most active
+// thread sorted by the thread activity scores.
776
+// It always selects global tracks when there is a GeckoMain [tab], but when
777
+// there is no GeckoMain [tab], it might select local tracks too depending
778
+// on the activity score.
779
function getDefaultSelectedThreadIndexes(
780
visibleThreadIndexes: ThreadIndex[],
781
profile: Profile,
0 commit comments