mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Move DummyScrollbarComponent into its own GPU layer
This was fixed back in bac9922 and, due to the same reasons, not having
a separate layer causes the "Show scrollbars only when scrolling"
setting on macOS to not work properly.
This commit is contained in:
@@ -2950,7 +2950,8 @@ class DummyScrollbarComponent {
|
||||
const outerStyle = {
|
||||
position: 'absolute',
|
||||
contain: 'strict',
|
||||
zIndex: 1
|
||||
zIndex: 1,
|
||||
willChange: 'transform'
|
||||
}
|
||||
const innerStyle = {}
|
||||
if (orientation === 'horizontal') {
|
||||
|
||||
Reference in New Issue
Block a user