mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
[PR #435] [MERGED] Enabled empty tray icon #1177
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ElectronNET/Electron.NET/pull/435
Author: @writzx
Created: 6/15/2020
Status: ✅ Merged
Merged: 7/4/2020
Merged by: @GregorBiswanger
Base:
master← Head:master📝 Commits (1)
de16376enabled empty tray icon📊 Changes
3 files changed (+27 additions, -12 deletions)
View changed files
📝
ElectronNET.API/Tray.cs(+9 -0)📝
ElectronNET.Host/api/tray.js(+9 -5)📝
ElectronNET.Host/api/tray.ts(+9 -7)📄 Description
This allows empty tray icon to be placed without a context menu. Useful for cases when only minimize/close to tray is implemented.
This somehow also fixes menu icon click events in macOS. (probably a thing in base electronjs as well). Not sure about other OS though.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.