fix(desktop): satisfy no-extra-boolean-cast in fullscreen guard
This commit is contained in:
parent
4f9d345956
commit
4ed6f4f7f1
|
|
@ -5258,7 +5258,7 @@ function getWindowButtonPosition(win = mainWindow) {
|
|||
|
||||
// Fullscreen hides the traffic lights — treat as no left-side controls so the
|
||||
// renderer drops the traffic-light dodge inset and Y nudge.
|
||||
if (Boolean(win?.isFullScreen?.())) {
|
||||
if (win?.isFullScreen?.()) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue