Skip to content

Commit 1970ee8

Browse files
committed
chore: lint fix
1 parent 882647b commit 1970ee8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Packages/Passport/Runtime/Scripts/Private/UI/WebViews/MacOSPassportWebView.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ private async UniTaskVoid InitializeAsync(PassportWebViewConfig config)
6565
try
6666
{
6767
PassportLogger.Info($"{TAG} Starting Vuplex CanvasWebViewPrefab instantiation...");
68-
68+
6969
// Apply aggressive performance optimizations for macOS
70-
try
70+
try
7171
{
7272
StandaloneWebView.SetCommandLineArguments(
7373
"--disable-gpu " +
@@ -84,15 +84,15 @@ private async UniTaskVoid InitializeAsync(PassportWebViewConfig config)
8484
{
8585
PassportLogger.Warn($"{TAG} Could not apply performance optimizations: {ex.Message}");
8686
}
87-
87+
8888
// Create WebView prefab and parent to Canvas
8989
_webViewPrefab = CanvasWebViewPrefab.Instantiate();
9090
PassportLogger.Info($"{TAG} CanvasWebViewPrefab created successfully");
91-
91+
9292
// Enable Native2DMode and additional performance settings
9393
_webViewPrefab.Native2DModeEnabled = true; // Direct native rendering - fastest on desktop
9494
_webViewPrefab.Resolution = 0.5f; // Balanced resolution for desktop
95-
95+
9696
// Additional 2D mode optimizations
9797
if (_webViewPrefab.Native2DModeEnabled)
9898
{
@@ -122,7 +122,7 @@ private async UniTaskVoid InitializeAsync(PassportWebViewConfig config)
122122
await _webViewPrefab.WaitUntilInitialized();
123123
var initTime = (System.DateTime.Now - startTime).TotalSeconds;
124124
PassportLogger.Info($"{TAG} Vuplex WebView initialization completed in {initTime:F2}s");
125-
125+
126126
// Pre-load the login page for instant display
127127
try
128128
{

0 commit comments

Comments
 (0)