chore(react/ribbon): add disable rules for context menu

This commit is contained in:
Elian Doran
2025-08-25 00:19:12 +03:00
parent 885dd2053b
commit 35ef5fd0d3
3 changed files with 18 additions and 96 deletions

View File

@@ -148,7 +148,7 @@ export function isElectron() {
return !!(window && window.process && window.process.type);
}
function isMac() {
export function isMac() {
return navigator.platform.indexOf("Mac") > -1;
}