mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Update styles for modal panels.
This commit is contained in:
@@ -674,6 +674,7 @@ class Workspace extends Model
|
||||
#
|
||||
# Returns a {Panel}
|
||||
addModalPanel: (options={}) ->
|
||||
# TODO: remove these default classes. They are to supoprt existing themes.
|
||||
options.className ?= 'overlay from-top'
|
||||
@addPanel('modal', options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user