mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Random tweak. Minor change drastically increases GUI performance
This commit is contained in:
parent
e4365c6c40
commit
1f4464271e
@ -49,7 +49,6 @@ namespace DS4Windows
|
|||||||
delegate void HotKeysDelegate(object sender, EventArgs e);
|
delegate void HotKeysDelegate(object sender, EventArgs e);
|
||||||
Options opt;
|
Options opt;
|
||||||
public Size oldsize;
|
public Size oldsize;
|
||||||
WinProgs WP;
|
|
||||||
public bool mAllowVisible;
|
public bool mAllowVisible;
|
||||||
bool contextclose;
|
bool contextclose;
|
||||||
string logFile = appdatapath + @"\DS4Service.log";
|
string logFile = appdatapath + @"\DS4Service.log";
|
||||||
@ -856,7 +855,7 @@ namespace DS4Windows
|
|||||||
public void RefreshAutoProfilesPage()
|
public void RefreshAutoProfilesPage()
|
||||||
{
|
{
|
||||||
tabAutoProfiles.Controls.Clear();
|
tabAutoProfiles.Controls.Clear();
|
||||||
WP = new WinProgs(profilenames.ToArray(), this);
|
WinProgs WP = new WinProgs(profilenames.ToArray(), this);
|
||||||
WP.TopLevel = false;
|
WP.TopLevel = false;
|
||||||
WP.FormBorderStyle = FormBorderStyle.None;
|
WP.FormBorderStyle = FormBorderStyle.None;
|
||||||
WP.Visible = true;
|
WP.Visible = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user