chore(macos): remove useless comment
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user