     x = (offsetX // factor)
     y = (offsetY // factor)
     inline @elements.bg,"background-position:#{x}px #{y}px !important;"
-
-  applyConfToEditors:->
-    txtBgCss="
-      .editor-background atom-text-editor::shadow .line>span{
-        position:relative;
-        overflow:visible;
-      }
-      .editor-background atom-text-editor::shadow .line>span:not(.invisible-character):not(.indent-guide):before{
-        position:absolute;
-        content:'';
-        height:80px;
-        top:-30px;
-        z-index:-1;
-        width:100%;
-        background:url(atom://editor-background/images/repeat-x.png);
-        background-size:100% 100%;
-        transform:translate3d(0,0,0);
-        perspective:1000px;
-      }
-      .editor-background atom-text-editor::shadow .line>span:not(.invisible-character):not(.indent-guide):after{
-        position:absolute;
-        content:'';
-        height:80px;
-        top:-30px;
-        left:100%;
-        z-index:-1;
-        width:45px;
-        background:url(atom://editor-background/images/right.png);
-        background-size:100% 100%;
-        transform:translate3d(0,0,0);
-        perspective:1000px;
-      }
-
-    "
-    @elements.textBackground.innerText=txtBgCss
 
   updateBox: (depth) ->
     conf=atom.config.get('editor-background')

    @elements.body.insertBefore main,@elements.body.firstChild

  insertTextBackground:->
    txtBg = document.createElement 'style'
    txtBg.type="text/css"
    @elements.textBackground=txtBg
    @elements.main.appendChild txtBg

  initialize: ->
    @elements.body = qr 'body'

    loaded = (@elements[k] for k in keys when @elements[k]?)

    if loaded.length == keys.length

      @insertMain()
      @insertTextBackground()
      @activateMouseMove()
      @watchEditors()

      conf=atom.config.get('editor-background')

