Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allowOverridingNativeContextMenus() #17777

Merged
merged 20 commits into from
Mar 3, 2022
Merged
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fbb865b
Add allowOverridingNativeContextMenus()
SimonBrandner Jun 25, 2021
245a881
Add a return type because I need to re-run the CI
SimonBrandner Jun 25, 2021
9137da8
Make setNotificationCount() public
SimonBrandner Jun 30, 2021
5e885d5
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Jul 20, 2021
263b126
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Aug 1, 2021
7c724c6
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Oct 17, 2021
3718d74
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Oct 22, 2021
08f403a
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Dec 11, 2021
29da455
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Jan 12, 2022
343e566
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Jan 23, 2022
91b3e25
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Jan 24, 2022
d744ca0
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Jan 31, 2022
3c6f1ee
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Feb 4, 2022
788e350
Merge branch 'develop' into right-click
SimonBrandner Feb 13, 2022
b741dab
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Feb 14, 2022
3c1f6f3
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Feb 17, 2022
fc46a11
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Feb 18, 2022
be1e2a7
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Feb 23, 2022
bd129c5
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Feb 25, 2022
a52fe50
Merge remote-tracking branch 'upstream/develop' into right-click
SimonBrandner Feb 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/vector/platform/ElectronPlatform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
return true;
}

setNotificationCount(count: number) {
public allowOverridingNativeContextMenus(): boolean {
return true;
}

setNotificationCount(count: number): void {
SimonBrandner marked this conversation as resolved.
Show resolved Hide resolved
if (this.notificationCount === count) return;
super.setNotificationCount(count);

Expand Down