From 335154d5930e1f10fd6ae3249094c7e4a7bdae27 Mon Sep 17 00:00:00 2001 From: David_JonesDVN Date: Fri, 3 Jan 2020 23:59:51 +0330 Subject: [PATCH] Replay browser changes --- CHANGELOG.txt | 2 ++ Touhou Launcher/MainForm.Designer.cs | 17 ++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d654a6f..f2050dd 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,8 @@ 1.0-pre4 (06/12/2019) Added: Tray icon for Touhou 17. Changed: The backwards compatibility code has been rewritten. Unfortunately this breaks compatibility with older versions. An intermediary version called pre3.5 is provided for conversion of settings.json to the new format. +Changed: The browser will no longer start on a webpage. +Changed: replays.gensokyo.org was changed to maribelhearn.com/gensokyo as the former is no longer accessible. Fixed: The tray icon's Main Games menu not working (no idea when that broke). 1.0-pre3 (13/08/2019) diff --git a/Touhou Launcher/MainForm.Designer.cs b/Touhou Launcher/MainForm.Designer.cs index 37fc84a..6910a96 100644 --- a/Touhou Launcher/MainForm.Designer.cs +++ b/Touhou Launcher/MainForm.Designer.cs @@ -1333,9 +1333,9 @@ private void InitializeComponent() this.replayBrowser.Location = new System.Drawing.Point(0, 29); this.replayBrowser.MinimumSize = new System.Drawing.Size(20, 20); this.replayBrowser.Name = "replayBrowser"; - this.replayBrowser.Size = new System.Drawing.Size(524, 456); + this.replayBrowser.Size = new System.Drawing.Size(524, 556); this.replayBrowser.TabIndex = 2; - this.replayBrowser.Url = new System.Uri("http://replays.gensokyo.org", System.UriKind.Absolute); + this.replayBrowser.Url = new System.Uri("", System.UriKind.Relative); this.replayBrowser.Navigating += new System.Windows.Forms.WebBrowserNavigatingEventHandler(this.replayBrowser_Navigating); // // replayPanel @@ -1354,9 +1354,9 @@ private void InitializeComponent() // // linkReplays // - this.linkReplays.Location = new System.Drawing.Point(373, 3); + this.linkReplays.Location = new System.Drawing.Point(406, 3); this.linkReplays.Name = "linkReplays"; - this.linkReplays.Size = new System.Drawing.Size(142, 20); + this.linkReplays.Size = new System.Drawing.Size(109, 20); this.linkReplays.TabIndex = 3; this.linkReplays.KeyDown += new System.Windows.Forms.KeyEventHandler(this.linkReplays_KeyDown); // @@ -1365,7 +1365,7 @@ private void InitializeComponent() this.appspotReplays.Appearance = System.Windows.Forms.Appearance.Button; this.appspotReplays.AutoSize = true; this.appspotReplays.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.appspotReplays.Location = new System.Drawing.Point(243, 3); + this.appspotReplays.Location = new System.Drawing.Point(277, 3); this.appspotReplays.Name = "appspotReplays"; this.appspotReplays.Size = new System.Drawing.Size(123, 23); this.appspotReplays.TabIndex = 2; @@ -1379,7 +1379,7 @@ private void InitializeComponent() this.royalflareReplays.Appearance = System.Windows.Forms.Appearance.Button; this.royalflareReplays.AutoSize = true; this.royalflareReplays.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.royalflareReplays.Location = new System.Drawing.Point(129, 3); + this.royalflareReplays.Location = new System.Drawing.Point(163, 3); this.royalflareReplays.Name = "royalflareReplays"; this.royalflareReplays.Size = new System.Drawing.Size(108, 23); this.royalflareReplays.TabIndex = 1; @@ -1392,14 +1392,13 @@ private void InitializeComponent() // this.gensokyoReplays.Appearance = System.Windows.Forms.Appearance.Button; this.gensokyoReplays.AutoSize = true; - this.gensokyoReplays.Checked = true; this.gensokyoReplays.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.gensokyoReplays.Location = new System.Drawing.Point(6, 3); this.gensokyoReplays.Name = "gensokyoReplays"; - this.gensokyoReplays.Size = new System.Drawing.Size(117, 23); + this.gensokyoReplays.Size = new System.Drawing.Size(151, 23); this.gensokyoReplays.TabIndex = 0; this.gensokyoReplays.TabStop = true; - this.gensokyoReplays.Text = "replays.gensokyo.org"; + this.gensokyoReplays.Text = "maribelhearn.com/gensokyo"; this.gensokyoReplays.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.gensokyoReplays.UseVisualStyleBackColor = true; this.gensokyoReplays.CheckedChanged += new System.EventHandler(this.Replays_CheckedChanged);