chore(macos): remove useless comment
This commit is contained in:
parent
5eecab5943
commit
61ffe199ee
1 changed files with 0 additions and 2 deletions
|
|
@ -11,8 +11,6 @@ let tray: Tray = null;
|
||||||
// Create and resize tray icon for macOS
|
// Create and resize tray icon for macOS
|
||||||
function createTrayIcon() {
|
function createTrayIcon() {
|
||||||
const image = nativeImage.createFromDataURL(trayIconAsset);
|
const image = nativeImage.createFromDataURL(trayIconAsset);
|
||||||
|
|
||||||
// Resize to a sane size for macOS (about 20px)
|
|
||||||
const resized = image.resize({ width: 20, height: 20 });
|
const resized = image.resize({ width: 20, height: 20 });
|
||||||
|
|
||||||
// Mark as template image so it adapts to dark/light mode
|
// Mark as template image so it adapts to dark/light mode
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue