You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: interface.html
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1429,7 +1429,7 @@ <h3>Global setting for VIP <a href="https://interactivereport.github.io/cellxgen
1429
1429
</Blockquote>
1430
1430
</div>
1431
1431
</div>
1432
-
<p>Width of the central canvas of main window in pixel: <inputid=canvasWidthname=canvasWidthsize=8> <buttononclick="$('.container div')[0].children[1].style.width=$('#canvasWidth').val()+'px';">Apply</button>
1432
+
<p>Width of the central canvas of main window in pixel: <inputid=canvasWidthname=canvasWidthvalue=1024size=4> <buttononclick="$('.container div')[0].children[1].style.width=$('#canvasWidth').val()+'px';window.dispatchEvent(new Event('resize'));">Apply</button>
1433
1433
<p>Figure DPI (Dots Per Inch):
1434
1434
<selectid="IMGdpi" onchange="IMGset()">
1435
1435
<optionvalue=150>150</option>
@@ -2182,6 +2182,8 @@ <h3>Load saved session</h3>
2182
2182
subtree: true,
2183
2183
attributeOldValue: true
2184
2184
});
2185
+
// Click on "cellxgene" at the top-left corner to issue 'resize' event, so out-of-window VIP window will be back
2186
+
$(".container div div div div div span")[0].onclick = function () {window.dispatchEvent(new Event('resize'));}
2185
2187
2186
2188
console.log("VIP (Visualization in Plugin) is ready on client side.");
0 commit comments