Skip to content

Commit

Permalink
Merge pull request #219 from postcasio/prevent-selection
Browse files Browse the repository at this point in the history
Prevent selections on the minimap
  • Loading branch information
abe33 committed Jan 14, 2015
2 parents 26e68e5 + d323f40 commit d02ad83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions stylesheets/minimap.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ atom-text-editor::shadow, atom-text-editor {
overflow: hidden;
position: relative;

-webkit-user-select: none;

&::shadow {
canvas {
position: absolute;
Expand Down Expand Up @@ -197,6 +199,8 @@ atom-text-editor::shadow, atom-text-editor {
overflow: hidden;
box-sizing: border-box;

-webkit-user-select: none;

.editor {
padding: 0 !important;
background: transparent;
Expand Down

0 comments on commit d02ad83

Please sign in to comment.