Skip to content

Commit 75207f2

Browse files
committed
Slightly change top arrow positioning on not focused window
1 parent 3dabc50 commit 75207f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

renderer/components/tray/TopArrowPosition.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ class TopArrowPosition extends PureComponent {
3131
const currentWindow = this.remote.getCurrentWindow()
3232
const tray = this.remote.getGlobal('tray')
3333

34-
if (!currentWindow || !tray || !currentWindow.isFocused()) {
34+
if (!currentWindow || !tray) {
3535
return
3636
}
3737

3838
// Center the caret unter the tray icon
3939
const windowBounds = currentWindow.getBounds()
40-
console.log(windowBounds)
4140
this.position(tray, windowBounds)
4241
}
4342

0 commit comments

Comments
 (0)