Ver código fonte

Don't slow shrink PDF panel with each reload

James Allen 12 anos atrás
pai
commit
e1a130a941
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      services/web/public/coffee/editor/Editor.coffee

+ 1 - 1
services/web/public/coffee/editor/Editor.coffee

@@ -71,7 +71,7 @@ define [
 		_saveSplitterState: () ->
 			if $("#editorSplitter").is(":visible")
 				state = $("#editorSplitter").layout().readState()
-				eastWidth = state.east.size
+				eastWidth = state.east.size + $("#editorSplitter .ui-layout-resizer-east").width()
 				percentWidth = eastWidth / $("#editorSplitter").width() * 100 + "%"
 				state.east.size = percentWidth
 				$.localStorage("layout.editor", state)