don't toggle maximization state after setting
This commit is contained in:
parent
7868a65da9
commit
b33661d9d5
@ -627,7 +627,10 @@ define([
|
|||||||
|
|
||||||
// this should only ever get called once, when the chain syncs
|
// this should only ever get called once, when the chain syncs
|
||||||
var onReady = realtimeOptions.onReady = function (info) {
|
var onReady = realtimeOptions.onReady = function (info) {
|
||||||
editor.execCommand('maximize');
|
if (!APP.isMaximized) {
|
||||||
|
editor.execCommand('maximize');
|
||||||
|
APP.isMaximized = true;
|
||||||
|
}
|
||||||
|
|
||||||
module.patchText = TextPatcher.create({
|
module.patchText = TextPatcher.create({
|
||||||
realtime: info.realtime,
|
realtime: info.realtime,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user