Skip to content

Commit

Permalink
Remove default overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
ngld committed Jan 12, 2020
1 parent 9ac45a7 commit d4047ef
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions OverlayPlugin.Core/PluginConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ public Version Version
[XmlIgnore]
public Dictionary<string, JObject> EventSourceConfigs { get; set; }

internal const string DefaultMiniParseOverlayName = "Mini Parse";

public PluginConfig()
{
this.Overlays = new OverlayConfigList<IOverlayConfig>();
Expand Down Expand Up @@ -235,13 +233,7 @@ public static PluginConfig LoadXml(string pluginDirectory, string path)
/// <param name="pluginDirectory"></param>
public void SetDefaultOverlayConfigs(string pluginDirectory)
{
var miniparseOverlayConfig = new MiniParseOverlayConfig(DefaultMiniParseOverlayName);
miniparseOverlayConfig.Position = new Point(20, 20);
miniparseOverlayConfig.Size = new Size(500, 300);
miniparseOverlayConfig.Url = new Uri(Path.Combine(pluginDirectory, "resources", "miniparse.html")).ToString();

this.Overlays = new OverlayConfigList<IOverlayConfig>();
this.Overlays.Add(miniparseOverlayConfig);

this.WSServerIP = "127.0.0.1";
this.WSServerPort = 10501;
Expand Down

0 comments on commit d4047ef

Please sign in to comment.