1
0
mirror of synced 2024-11-27 21:10:48 +01:00

hid tmap4 from list

This commit is contained in:
NotImplementedLife 2023-07-22 18:18:18 +03:00
parent 9e2013b71e
commit 6af159fb40
4 changed files with 8 additions and 9 deletions

View File

@ -134,7 +134,7 @@ namespace TaikoSoundEditor
Logger.Info($"Setting LoadedMusicBox DataSource"); Logger.Info($"Setting LoadedMusicBox DataSource");
LoadedMusicBinding = new BindingSource(); LoadedMusicBinding = new BindingSource();
LoadedMusicBinding.DataSource = MusicInfos.Items; LoadedMusicBinding.DataSource = MusicInfos.Items.Where(mi => mi.UniqueId != 0).ToList();
LoadedMusicBox.DataSource = LoadedMusicBinding; LoadedMusicBox.DataSource = LoadedMusicBinding;
TabControl.SelectedIndex = 1; TabControl.SelectedIndex = 1;
@ -146,7 +146,7 @@ namespace TaikoSoundEditor
public static void RunGuard(Action action) public static void RunGuard(Action action)
{ {
try try
{ {
action(); action();
@ -160,8 +160,7 @@ namespace TaikoSoundEditor
public static void Error(Exception e) public static void Error(Exception e)
{ {
MessageBox.Show(e.Message, "An error has occured"); MessageBox.Show(e.Message, "An error has occured");
Logger.Error(e); Logger.Error(e);
throw e;
} }
#region Editor #region Editor

View File

@ -4,7 +4,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
--> -->
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<History>True|2023-07-22T05:23:07.5000923Z;True|2023-07-21T20:03:15.6598520+03:00;True|2023-07-21T19:41:13.2800435+03:00;True|2023-07-19T13:08:33.4726289+03:00;True|2023-07-19T12:08:17.2430335+03:00;True|2023-07-18T09:38:50.7615921+03:00;True|2023-07-18T09:25:23.0403589+03:00;True|2023-07-17T17:57:08.1469738+03:00;True|2023-07-17T11:28:41.9554245+03:00;True|2023-07-17T11:15:26.2194507+03:00;</History> <History>True|2023-07-22T09:07:26.2620601Z;True|2023-07-22T12:06:39.9230498+03:00;True|2023-07-22T11:29:18.0153916+03:00;True|2023-07-22T08:23:07.5000923+03:00;True|2023-07-21T20:03:15.6598520+03:00;True|2023-07-21T19:41:13.2800435+03:00;True|2023-07-19T13:08:33.4726289+03:00;True|2023-07-19T12:08:17.2430335+03:00;True|2023-07-18T09:38:50.7615921+03:00;True|2023-07-18T09:25:23.0403589+03:00;True|2023-07-17T17:57:08.1469738+03:00;True|2023-07-17T11:28:41.9554245+03:00;True|2023-07-17T11:15:26.2194507+03:00;</History>
<LastFailureDetails /> <LastFailureDetails />
</PropertyGroup> </PropertyGroup>
</Project> </Project>

4
TJA.cs
View File

@ -55,7 +55,7 @@ namespace TaikoSoundEditor
{ {
Match match = null; Match match = null;
Logger.Info($"Parsing line : {line}"); Logger.Info($"Parsing line : {line}");
if ((match = line.Match("\\/\\/.*")) != null) if ((match = line.Match("\\/\\/.*")) != null)
{ {
@ -140,7 +140,7 @@ namespace TaikoSoundEditor
} }
else if(line.Type=="command") else if(line.Type=="command")
{ {
Logger.Info($"Command {line.Name} {line.Value}"); Logger.Info($"Command Name={line.Name} Val={line.Value}");
if (line.Name == "BRANCHSTART") if (line.Name == "BRANCHSTART")
{ {

View File

@ -7,8 +7,8 @@
<UseWindowsForms>true</UseWindowsForms> <UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Authors>NotImplementedLife</Authors> <Authors>NotImplementedLife</Authors>
<AssemblyVersion>0.3</AssemblyVersion> <AssemblyVersion>0.4</AssemblyVersion>
<Version>0.3</Version> <Version>0.4</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>