Skip to content

Commit 90f5f5d

Browse files
committed
attempting to fix some tests on CI
1 parent e09ef35 commit 90f5f5d

File tree

4 files changed

+37
-32
lines changed

4 files changed

+37
-32
lines changed

src/ElectronNET.API/API/WebContents.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,15 @@ public void ToggleDevTools()
142142
{
143143
BridgeConnector.Socket.Emit("webContents-toggleDevTools", Id);
144144
}
145-
145+
146146
/// <summary>
147147
/// Closes the devtools.
148148
/// </summary>
149149
public void CloseDevTools()
150150
{
151151
BridgeConnector.Socket.Emit("webContents-closeDevTools", Id);
152152
}
153-
153+
154154
/// <summary>
155155
/// Returns boolean - Whether the devtools is opened.
156156
/// </summary>
@@ -314,7 +314,7 @@ public void InsertCSS(bool isBrowserWindow, string path)
314314
{
315315
BridgeConnector.Socket.Emit("webContents-insertCSS", Id, isBrowserWindow, path);
316316
}
317-
317+
318318
/// <summary>
319319
/// A number property that determines the zoom level for this web contents.
320320
///The original size is 0 and each increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively.
@@ -331,7 +331,7 @@ public int ZoomLevel
331331
BridgeConnector.Socket.Emit("webContents-zoomLevel-set", Id, value);
332332
}
333333
}
334-
334+
335335
/// <summary>
336336
/// A number property that determines the zoom factor for this web contents.
337337
///The zoom factor is the zoom percent divided by 100, so 300% = 3.0.
@@ -347,13 +347,13 @@ public double ZoomFactor
347347
BridgeConnector.Socket.Emit("webContents-zoomFactor-set", Id, value);
348348
}
349349
}
350-
350+
351351
/// <summary>
352352
/// Returns number - The current zoom factor.
353353
/// </summary>
354354
/// <returns></returns>
355355
public Task<double> GetZoomFactorAsync() => InvokeAsync<double>();
356-
356+
357357
/// <summary>
358358
/// Changes the zoom factor to the specified factor.
359359
/// Zoom factor is zoom percent divided by 100, so 300% = 3.0.
@@ -370,7 +370,7 @@ public void SetZoomFactor(double factor)
370370
/// </summary>
371371
/// <returns></returns>
372372
public Task<int> GetZoomLevelAsync() => InvokeAsync<int>();
373-
373+
374374
/// <summary>
375375
/// Changes the zoom level to the specified level.
376376
/// The original size is 0 and each increment above or below represents zooming 20% larger or smaller to default limits of 300% and 50% of original size, respectively.
@@ -380,7 +380,7 @@ public void SetZoomLevel(int level)
380380
{
381381
BridgeConnector.Socket.Emit("webContents-setZoomLevel", Id, level);
382382
}
383-
383+
384384
/// <summary>
385385
/// Sets the maximum and minimum pinch-to-zoom level.
386386
/// </summary>
@@ -395,7 +395,7 @@ public Task SetVisualZoomLevelLimitsAsync(int minimumLevel, int maximumLevel)
395395

396396
return tcs.Task;
397397
}
398-
398+
399399
/// <summary>
400400
/// A boolean property that determines whether this page is muted.
401401
/// </summary>
@@ -410,7 +410,7 @@ public bool AudioMuted
410410
BridgeConnector.Socket.Emit("webContents-audioMuted-set", Id, value);
411411
}
412412
}
413-
413+
414414
/// <summary>
415415
/// Returns boolean - Whether this page has been muted.
416416
/// </summary>

0 commit comments

Comments
 (0)