From 9c0b187df6c2bb2662f93294ab11ea98a9b464d6 Mon Sep 17 00:00:00 2001 From: Ray Date: Sun, 10 May 2026 13:03:52 +0100 Subject: [PATCH] Changed to upgrade nuget packages Changed for small bug fixes --- MainForm.cs | 5 ++++- Models/SaveFile/AppOptionsBase.cs | 2 +- RokettoLaunch.csproj | 4 ++-- Windows/Forms/TilePanel.cs | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/MainForm.cs b/MainForm.cs index ce52252..1bff967 100644 --- a/MainForm.cs +++ b/MainForm.cs @@ -73,7 +73,7 @@ namespace RokettoLaunch } else { - await _fileSessionManager.NewSession(); + //await _fileSessionManager.NewSession(); } UIControl.SetFocus(this); @@ -90,6 +90,8 @@ namespace RokettoLaunch if (this.CurrentSession.HideOnClose && !_requestExit) { + this.Hide(); + e.Cancel = true; return; } @@ -1063,6 +1065,7 @@ namespace RokettoLaunch var header = CreateHeader(groupInfo); header.ToggleControlId = groupInfo.Id; header.ToggleControl = tableLayout; + header.IsOpen = groupInfo.IsOpen; UIControl.Add(flowLayoutPanel1, header); UIControl.Add(flowLayoutPanel1, tableLayout); diff --git a/Models/SaveFile/AppOptionsBase.cs b/Models/SaveFile/AppOptionsBase.cs index d07eb22..cf60c20 100644 --- a/Models/SaveFile/AppOptionsBase.cs +++ b/Models/SaveFile/AppOptionsBase.cs @@ -6,7 +6,7 @@ namespace RokettoLaunch.Models.SaveFile { public int FileVersion { get; set; } = 0; - public int TilesPerRow { get; set; } = 8; + public int TilesPerRow { get; set; } = 6; public bool ShowBigIcons { get; set; } = true; diff --git a/RokettoLaunch.csproj b/RokettoLaunch.csproj index 7201141..f3d3df9 100644 --- a/RokettoLaunch.csproj +++ b/RokettoLaunch.csproj @@ -80,8 +80,8 @@ - - + + diff --git a/Windows/Forms/TilePanel.cs b/Windows/Forms/TilePanel.cs index 239075b..af33696 100644 --- a/Windows/Forms/TilePanel.cs +++ b/Windows/Forms/TilePanel.cs @@ -68,7 +68,7 @@ namespace RokettoLaunch.Windows.Forms { base.OnMouseDown(e); - if (e.Button == MouseButtons.Right) + if (Control.ModifierKeys == Keys.Control && e.Button == MouseButtons.Right) { this.DoDragDrop(this, DragDropEffects.Move); }