Commit c3f2b56c authored by chriseth's avatar chriseth Committed by GitHub

Merge pull request #458 from soad003/master

editorWindowSize can get negative. RHS bar not usable anymore.
parents ba5051fc 17a810e0
...@@ -462,6 +462,7 @@ var run = function () { ...@@ -462,6 +462,7 @@ var run = function () {
$('#ghostbar').remove() $('#ghostbar').remove()
$(document).unbind('mousemove') $(document).unbind('mousemove')
dragging = false dragging = false
delta = (delta < 50) ? 50 : delta
setEditorSize(delta) setEditorSize(delta)
config.set(EDITOR_WINDOW_SIZE, delta) config.set(EDITOR_WINDOW_SIZE, delta)
reAdjust() reAdjust()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment