-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subclassing BrowserWindow in es6 style seems to cause some strange bugs in electron. I've changed this so that methods are added to the individual instances, as that keeps the object as type BrowserWindow. Not sure what the problem is with BrowserWindow subclasses. If anyone knows the reason, would love to hear if there's a better solution!
- Loading branch information
Showing
2 changed files
with
46 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters