mirror of
https://github.com/atom/atom.git
synced 2026-01-25 23:08:18 -05:00
Merge pull request #17985 from atom/ak-no-selection-in-the-text-editing-room
Disallow OS text selection in atom buffers.
This commit is contained in:
2142
package-lock.json
generated
2142
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -116,7 +116,7 @@
|
||||
"line-ending-selector": "https://www.atom.io/api/packages/line-ending-selector/versions/0.7.7/tarball",
|
||||
"line-top-index": "0.3.1",
|
||||
"link": "https://www.atom.io/api/packages/link/versions/0.31.6/tarball",
|
||||
"markdown-preview": "https://www.atom.io/api/packages/markdown-preview/versions/0.159.24/tarball",
|
||||
"markdown-preview": "https://www.atom.io/api/packages/markdown-preview/versions/0.159.25/tarball",
|
||||
"marked": "^0.3.12",
|
||||
"metrics": "https://www.atom.io/api/packages/metrics/versions/1.6.2/tarball",
|
||||
"minimatch": "^3.0.3",
|
||||
@@ -212,7 +212,7 @@
|
||||
"keybinding-resolver": "0.38.3",
|
||||
"line-ending-selector": "0.7.7",
|
||||
"link": "0.31.6",
|
||||
"markdown-preview": "0.159.24",
|
||||
"markdown-preview": "0.159.25",
|
||||
"metrics": "1.6.2",
|
||||
"notifications": "0.70.5",
|
||||
"open-on-github": "1.3.1",
|
||||
|
||||
@@ -138,6 +138,10 @@ atom-text-editor {
|
||||
.cursors.blink-off .cursor {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
// Atom manages the selection independent of Blink / the OS. We never want a
|
||||
// native selection.
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
atom-text-editor[mini] {
|
||||
|
||||
Reference in New Issue
Block a user