mirror of
https://github.com/atom/atom.git
synced 2026-02-15 00:55:14 -05:00
Add legacy ‘from-top’ class at the view layer, not the model
This blends in to our approach with the other legacy panel classes.
This commit is contained in:
@@ -682,8 +682,6 @@ 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)
|
||||
|
||||
addPanel: (location, options) ->
|
||||
|
||||
Reference in New Issue
Block a user