Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Commit

Permalink
fix: Add generic tooltip since so variable. Remove frame from Windows OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ltfschoen committed Feb 21, 2019
1 parent f13c95d commit 63a73cc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/fether-electron/src/main/app/options/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ if (process.platform === 'win32') {
);
}

const shouldUseFrame = process.platform === 'win32';

const windowPosition =
process.platform === 'win32' ? 'trayBottomCenter' : 'trayCenter';

const tooltip =
'Right-click to toggle Fether window. Left-click to toggle Fether menu';
let tooltip =
'Left-click/right-click tray icon toggles Fether window or Fether menu';

// API docs: https://electronjs.org/docs/api/browser-window
const DEFAULT_OPTIONS = {
Expand All @@ -72,7 +70,7 @@ const DEFAULT_OPTIONS = {
};

const TASKBAR_OPTIONS = {
frame: shouldUseFrame,
frame: false,
height: 464,
// On Linux the user must click the tray icon and then click the tooltip
// to toggle the Fether window open/close
Expand Down

0 comments on commit 63a73cc

Please sign in to comment.