diff --git a/Editor.js b/Editor.js index 959d9773..5b5e306f 100644 --- a/Editor.js +++ b/Editor.js @@ -194,7 +194,7 @@ Editor.prototype = }; capture(this.container, onMouseSelection, onMouseSelectionEnd); - var timerId = setInterval(onSelectionInterval, 20); + var timerId = setInterval(onSelectionInterval, 20 ); return preventDefault(e); }, diff --git a/editor.css b/editor.css index e571e121..5ba7b355 100644 --- a/editor.css +++ b/editor.css @@ -1,7 +1,7 @@ .editor { position: absolute; border: 1px solid black; - overflow-x: auto; + overflow-x: scroll; overflow-y: hidden; } @@ -28,7 +28,7 @@ .cursor { position: absolute; - width: 1px; + width: 2px; background: black; }