@@ -681,7 +681,7 @@ public void SetAspectRatio(int aspectRatio, Size extraSize) =>
681681 /// <param name="level">Values include normal, floating, torn-off-menu, modal-panel, main-menu,
682682 /// status, pop-up-menu and screen-saver. The default is floating.
683683 /// See the macOS docs</param>
684- public void SetAlwaysOnTop ( bool flag , OnTopLevel level ) => this . CallMethod2 ( flag , level . GetDescription ( ) ) ;
684+ public void SetAlwaysOnTop ( bool flag , OnTopLevel level ) => this . CallMethod2 ( flag , level ) ;
685685
686686 /// <summary>
687687 /// Sets whether the window should show always on top of other windows.
@@ -694,7 +694,7 @@ public void SetAspectRatio(int aspectRatio, Size extraSize) =>
694694 /// See the macOS docs</param>
695695 /// <param name="relativeLevel">The number of layers higher to set this window relative to the given level.
696696 /// The default is 0. Note that Apple discourages setting levels higher than 1 above screen-saver.</param>
697- public void SetAlwaysOnTop ( bool flag , OnTopLevel level , int relativeLevel ) => this . CallMethod3 ( flag , level . GetDescription ( ) , relativeLevel ) ;
697+ public void SetAlwaysOnTop ( bool flag , OnTopLevel level , int relativeLevel ) => this . CallMethod3 ( flag , level , relativeLevel ) ;
698698
699699 /// <summary>
700700 /// Whether the window is always on top of other windows.
@@ -1190,7 +1190,7 @@ public async Task<List<BrowserWindow>> GetChildWindowsAsync()
11901190 /// menu, popover, sidebar, medium-light or ultra-dark.
11911191 /// See the macOS documentation for more details.</param>
11921192 [ SupportedOSPlatform ( "macOS" ) ]
1193- public void SetVibrancy ( Vibrancy type ) => this . CallMethod1 ( type . GetDescription ( ) ) ;
1193+ public void SetVibrancy ( Vibrancy type ) => this . CallMethod1 ( type ) ;
11941194
11951195 /// <summary>
11961196 /// Render and control web pages.
0 commit comments