mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
🐎 Only reload active package stylesheets
Previously all package stylesheets were loaded twice during startup, once when the themes were loaded and once when the packages were activated.
This commit is contained in:
@@ -145,7 +145,7 @@ class Atom
|
||||
|
||||
watchThemes: ->
|
||||
@themes.on 'reloaded', =>
|
||||
pack.reloadStylesheets?() for name, pack of @getLoadedPackages()
|
||||
pack.reloadStylesheets?() for name, pack of @packages.getActivePackages()
|
||||
null
|
||||
|
||||
open: (options) ->
|
||||
|
||||
Reference in New Issue
Block a user