Skip to content

Commit c622fbc

Browse files
committed
Improve dblclick on tabs header (no text selection)
1 parent 7ccf7ec commit c622fbc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

client/resources/stylesheets/layouts/lateralbar.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
color: @codeboxLateralbarColor;
1414
text-shadow: 0px 0px 2px rgba(0,0,0,0.6);
1515
.transition(width @lateralTransitionSpeed);
16+
.user-select(none);
1617

1718
.lateral-menu {
1819
position: absolute;

client/views/components/tabs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ define([
437437
},
438438

439439
// Open default new tab
440-
openDefaultNew: function() {
440+
openDefaultNew: function(e) {
441441
this.trigger("tabs:opennew");
442442
}
443443
}, {

0 commit comments

Comments
 (0)