mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Merge pull request #8112 from atom/as-tiles-stacking-context
Create new stacking context for tiles
This commit is contained in:
commit
938ee68373
@ -14,6 +14,9 @@ class LinesComponent extends TiledComponent
|
||||
@domNode = document.createElement('div')
|
||||
@domNode.classList.add('lines')
|
||||
@tilesNode = document.createElement("div")
|
||||
# Create a new stacking context, so that tiles z-index does not interfere
|
||||
# with other visual elements.
|
||||
@tilesNode.style.isolation = "isolate"
|
||||
@tilesNode.style.zIndex = 0
|
||||
@domNode.appendChild(@tilesNode)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user