mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
⬆️ scrollbar-style@3.1
This commit is contained in:
@@ -44,7 +44,7 @@ class WorkspaceElement extends HTMLElement
|
||||
@appendChild(@horizontalAxis)
|
||||
|
||||
observeScrollbarStyle: ->
|
||||
@subscriptions.add scrollbarStyle.onValue (style) =>
|
||||
@subscriptions.add scrollbarStyle.observePreferredScrollbarStyle (style) =>
|
||||
switch style
|
||||
when 'legacy'
|
||||
@classList.remove('scrollbars-visible-when-scrolling')
|
||||
|
||||
Reference in New Issue
Block a user