Skip to content

Commit

Permalink
0.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
KedamaOvO committed May 30, 2020
1 parent a78dcda commit b98cddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Gui/OverlayEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,15 @@ static SelectFontCommand()
foreach (var key in rk.GetValueNames())
{
string k = key.Replace(" (TrueType)", "");
string v = System.IO.Path.Combine(fontsdir, rk.GetValue(key).ToString()).ToLower();
try
{
string v = System.IO.Path.Combine(fontsdir, rk.GetValue(key).ToString()).ToLower();
_fontNameToFontPathDict.Add(k, v);
_fontPathToFontNameDict.Add(v, k);
}
catch (ArgumentException)
catch (Exception e)
{
Sync.Tools.IO.DefaultIO.WriteColor($"[Overlay Editor] Can't find font(${k}) path. Exception Message: {e.Message}",ConsoleColor.Yellow);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion IngameOverlayPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace IngameOverlay
[SyncPluginDependency("7216787b-507b-4eef-96fb-e993722acf2e", Version = "^1.4.3", Require = true)]
public class IngameOverlayPlugin : Plugin
{
public const string PLUGIN_VERSION = "0.3.2";
public const string PLUGIN_VERSION = "0.3.3";
private string _currentStatusString = "Idle";
private BreakTimeParser _breakTimeParser;

Expand Down

0 comments on commit b98cddf

Please sign in to comment.