Skip to content

Commit

Permalink
Merge pull request #4654 from JonathanMEdwards/white-cursor
Browse files Browse the repository at this point in the history
Make mouse cursor visible in dark themes. Fixes #754
  • Loading branch information
alexdima committed Apr 5, 2016
2 parents eee9bd2 + 892cb46 commit 6b6c36f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vs/editor/browser/widget/media/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@
white-space: nowrap;
}

.monaco-editor.vs-dark .view-lines {
cursor: -webkit-image-set(url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=') 1x, url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC') 2x) 5 8, text;
}

.monaco-editor .view-line {
position: absolute;
width: 100%;
Expand Down

0 comments on commit 6b6c36f

Please sign in to comment.