You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// NOTE sometimes projects are in wrong order, seems to be related to messing up your unity registry, the keys are received in created order (so if you had removed/modified them manually, it might return wrong order instead of 0 - 40)
104
105
// thats why need to sort projects list by modified date
// sort by modified date, projects without modified date are put to last, NOTE: this would remove projects without modified date (if they become last items, before trimming list on next step)
107
+
projectsFound.Sort((x,y)=>
108
+
{
109
+
if(x.Modified==null&&y.Modified==null)return-1;// was 0
//return x.Modified.Value.CompareTo(y.Modified.Value); // BUG this breaks something, so that last item platform is wrong (for project that is missing from disk) ?
<Buttonx:Name="btnPatchHubConfig"ToolTip="Modifies json file to set 'manual:true' values into 'false', so that can add modules using Hub. NOTE: This cannot be reversed (not keeping track which values were already 'false')"Style="{StaticResource CustomButton}"BorderBrush="{x:Null}"HorizontalAlignment="Left"VerticalAlignment="Top"Click="btnPatchHubConfig_Click">
<Buttonx:Name="btnPatchHubConfig"ToolTip="Modifies json file to set 'manual:true' values into 'false', so that can add modules using Hub. NOTE: This cannot be reversed (not keeping track which values were already 'false')"Style="{StaticResource CustomButton}"BorderBrush="{x:Null}"HorizontalAlignment="Left"VerticalAlignment="Top"Click="btnPatchHubConfig_Click">
<TextBoxx:Name="txtWebglPort"BorderBrush="Transparent"CaretBrush="{DynamicResource ThemeSearchCaret}"Background="{DynamicResource ThemeTextBoxBackground}"SelectionBrush="{DynamicResource ThemeSearchSelection}"Foreground="{DynamicResource ThemeSearchForeground}"MinWidth="80"ToolTip="Initial port for first local WebGL webserver process (next one will be +1)"Padding="0,3,0,0"TextChanged="txtWebglPort_TextChanged"HorizontalAlignment="Left"Text="50000"LostFocus="txtWebglPort_LostFocus" />
0 commit comments