Commit 3799aa26 authored by Kim Nguyễn's avatar Kim Nguyễn
Browse files

Fix a problem occuring when resizing the window.

parent b5dac2d6
...@@ -150,6 +150,7 @@ function standardView() ...@@ -150,6 +150,7 @@ function standardView()
e.style.height = "60vh"; e.style.height = "60vh";
c.style.width = "100%"; c.style.width = "100%";
c.style.height = "37vh"; c.style.height = "37vh";
editor.resize();
editor.focus(); editor.focus();
} }
...@@ -161,6 +162,7 @@ function widescreenView() ...@@ -161,6 +162,7 @@ function widescreenView()
e.style.height = "100%"; e.style.height = "100%";
c.style.width = "50%"; c.style.width = "50%";
c.style.height = "100%"; c.style.height = "100%";
editor.resize();
editor.focus(); editor.focus();
} }
......
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