Skip to content

Commit 22f310f

Browse files
authored
fix: change sort default value 0 to be compatible with Firefox (#722) (#748)
1 parent ad0310d commit 22f310f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/workbench/panel/panel.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export function Panel(props: IPanel & IPanelController) {
2828
if (a.sortIndex && b.sortIndex) {
2929
return a.sortIndex - b.sortIndex;
3030
}
31-
return 1;
31+
return 0;
3232
});
3333

3434
return (

0 commit comments

Comments
 (0)