1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-13 22:12:50 +02:00
This commit is contained in:
Laurent Cozic
2019-02-16 01:17:43 +00:00
parent 9bc7c2fd65
commit 361d46ac5d

View File

@@ -18,7 +18,6 @@ const Mark = require('mark.js/dist/mark.min.js');
const SearchEngine = require('lib/services/SearchEngine');
const NoteListUtils = require('./utils/NoteListUtils');
const { replaceRegexDiacritics, pregQuote } = require('lib/string-utils');
const VerticalResizer = require("./VerticalResizer.min");
class NoteListComponent extends React.Component {
@@ -30,7 +29,6 @@ class NoteListComponent extends React.Component {
this.itemRenderer = this.itemRenderer.bind(this);
this.onKeyDown = this.onKeyDown.bind(this);
this.verticalResizer_onDrag = this.verticalResizer_onDrag.bind(this);
}
style() {
@@ -74,10 +72,6 @@ class NoteListComponent extends React.Component {
return style;
}
verticalResizer_onDrag(event) {
Setting.setValue('style.noteList.width', Setting.value('style.noteList.width') + event.deltaX);
}
itemContextMenu(event) {
const currentItemId = event.currentTarget.getAttribute('data-id');
if (!currentItemId) return;