From 5497db06b884f9742f97056f002b938729d6733d Mon Sep 17 00:00:00 2001 From: 0auBSQ <58159635+0auBSQ@users.noreply.github.com> Date: Sat, 5 Nov 2022 03:30:36 +0900 Subject: [PATCH] Allow the setting of the "Resolution" parameter on SkinConfig.txt --- .gitignore | 1 + TJAPlayer3/Common/CSkin.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index bf7ad7cd..54e8056d 100644 --- a/.gitignore +++ b/.gitignore @@ -45,5 +45,6 @@ /Test/System/0.JpnNijiiro /Test/System/BasicStyle /Test/System/OpenSkin +/Test/System/SimpleStyle - コピー /Test/Global/Characters/Don *.score.ini diff --git a/TJAPlayer3/Common/CSkin.cs b/TJAPlayer3/Common/CSkin.cs index c30f1829..73a37cec 100644 --- a/TJAPlayer3/Common/CSkin.cs +++ b/TJAPlayer3/Common/CSkin.cs @@ -1087,14 +1087,14 @@ namespace TJAPlayer3 { this.Skin_Creator = strParam; } - /*else if (strCommand == "Resolution") + else if (strCommand == "Resolution") { string[] strSplit = strParam.Split(','); for (int i = 0; i < 2; i++) { Resolution[i] = int.Parse(strSplit[i]); } - }*/ + } #endregion #region [Background Scroll]