From d4047ef31a04e4c1ef8ac5e7c12e2de3985598a8 Mon Sep 17 00:00:00 2001 From: ngld Date: Mon, 13 Jan 2020 00:56:34 +0100 Subject: [PATCH] Remove default overlay --- OverlayPlugin.Core/PluginConfig.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/OverlayPlugin.Core/PluginConfig.cs b/OverlayPlugin.Core/PluginConfig.cs index 006922ea7..54b52d196 100644 --- a/OverlayPlugin.Core/PluginConfig.cs +++ b/OverlayPlugin.Core/PluginConfig.cs @@ -99,8 +99,6 @@ public Version Version [XmlIgnore] public Dictionary EventSourceConfigs { get; set; } - internal const string DefaultMiniParseOverlayName = "Mini Parse"; - public PluginConfig() { this.Overlays = new OverlayConfigList(); @@ -235,13 +233,7 @@ public static PluginConfig LoadXml(string pluginDirectory, string path) /// 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(); - this.Overlays.Add(miniparseOverlayConfig); this.WSServerIP = "127.0.0.1"; this.WSServerPort = 10501;