Skip to content

Commit 02f64f3

Browse files
committed
[GUI] Workaround for progress bar in Dark mode
1 parent 58917ab commit 02f64f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

AssetStudioGUI/AssetStudioGUIForm.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@ private async void BuildAssetStructures()
269269
var (productName, treeNodeCollection) = await Task.Run(BuildAssetData);
270270
var typeMap = await Task.Run(BuildClassStructure);
271271
productName = string.IsNullOrEmpty(productName) ? "no productName" : productName;
272+
if (isDarkMode)
273+
Progress.Reset();
272274

273275
Text = $"{guiTitle} - {productName} - {assetsManager.assetsFileList[0].version} - {assetsManager.assetsFileList[0].targetPlatformString}";
274276

0 commit comments

Comments
 (0)