electron-overlay-window icon indicating copy to clipboard operation
electron-overlay-window copied to clipboard

Fix re-focusing target and expose bounds object on 3.0

Open hsource opened this issue 4 years ago • 0 comments

Fix re-focusing

Motivation

I noticed that when in the demo app, after pressing Cmd + J twice, it didn't allow typing into Notepad/TextEdit again.

Fix

Change focusTarget to call electronWindow.setIgnoreMouseEvents(true) again

Testing

Before After
Before After

Expose bounds object

Motivation

Awakened POE Trade tries to get the bounds, but it's not exposed publicly.

Fix

Change #lastBounds to bounds

Testing

Ran with Awakened POE Trade. It gets rid of a big full-screen error about not being able to get bounds.

hsource avatar Oct 22 '21 08:10 hsource