Add allowOverridingNativeContextMenus()
(#17777)
This commit is contained in:
parent
6721a7162f
commit
491999281f
1 changed files with 5 additions and 1 deletions
|
@ -308,7 +308,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
|||
return true;
|
||||
}
|
||||
|
||||
setNotificationCount(count: number) {
|
||||
public allowOverridingNativeContextMenus(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
public setNotificationCount(count: number): void {
|
||||
if (this.notificationCount === count) return;
|
||||
super.setNotificationCount(count);
|
||||
|
||||
|
|
Loading…
Reference in a new issue