Save window size whenever it changes
This commit is contained in:
parent
b8a95536ef
commit
696e363437
|
@ -122,6 +122,7 @@ function ooui (rootElementPath) {
|
||||||
k: "resize",
|
k: "resize",
|
||||||
v: getSize (),
|
v: getSize (),
|
||||||
};
|
};
|
||||||
|
saveSize (em.v);
|
||||||
const ems = JSON.stringify (em);
|
const ems = JSON.stringify (em);
|
||||||
if (socket != null)
|
if (socket != null)
|
||||||
socket.send (ems);
|
socket.send (ems);
|
||||||
|
|
Loading…
Reference in New Issue