Disable mic and screenshare buttons on non-macOS platforms (#12994)
Release Notes: - N/A
This commit is contained in:
parent
85acc2be44
commit
284559742d
2 changed files with 16 additions and 5 deletions
|
@ -72,6 +72,7 @@ const os = require("os");
|
|||
const platform = os.platform();
|
||||
|
||||
let screenWidth, screenHeight;
|
||||
const titleBarHeight = 24;
|
||||
|
||||
if (platform === "darwin") {
|
||||
// macOS
|
||||
|
@ -103,7 +104,6 @@ if (platform === "darwin") {
|
|||
}
|
||||
}
|
||||
|
||||
const titleBarHeight = 24;
|
||||
screenHeight -= titleBarHeight;
|
||||
|
||||
if (isTop) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue