mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
🎨
This commit is contained in:
@@ -502,12 +502,10 @@ class Atom extends Model
|
||||
dimensions = @restoreWindowDimensions()
|
||||
@show()
|
||||
|
||||
maximize = dimensions?.maximized and process.platform isnt 'darwin'
|
||||
|
||||
setImmediate =>
|
||||
@focus()
|
||||
@setFullScreen(true) if @workspace?.fullScreen
|
||||
@maximize() if maximize
|
||||
@maximize() if dimensions?.maximized and process.platform isnt 'darwin'
|
||||
|
||||
# Get the dimensions of this window.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user