Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added macOS behaviors #41

Merged
merged 2 commits into from
Mar 27, 2018
Merged

Added macOS behaviors #41

merged 2 commits into from
Mar 27, 2018

Conversation

Schultzer
Copy link
Collaborator

When closing all window on macOS should not quit the app.

When all window are closed should open new mainWindow when clicked on icon in dock.

When closing all window on macOS should not quit the app.

When all window are closed should open new mainWindow when clicked on icon in dock.
@Schultzer Schultzer reopened this Dec 9, 2016
@codecov-io
Copy link

codecov-io commented Dec 9, 2016

Codecov Report

Merging #41 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #41   +/-   ##
=======================================
  Coverage   94.05%   94.05%           
=======================================
  Files           3        3           
  Lines         185      185           
=======================================
  Hits          174      174           
  Misses         11       11

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cf8c4f2...8c4d2d3. Read the comment docs.


app.on('activate', () => {
if (mainWindow === null) {
openWindow('main', 'app.html', { width: 640, height: 480 })
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be moved to a function to prevent duplicate code.

@Schultzer Schultzer force-pushed the macOS-behavior branch 2 times, most recently from 35e2d20 to 04ea9fc Compare December 11, 2016 05:03
@danschultzer danschultzer merged commit d62c3f3 into master Mar 27, 2018
@danschultzer danschultzer deleted the macOS-behavior branch March 27, 2018 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants