mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 12:22:35 +00:00
5853624dc5
Increased maximum zoom level in Classic modes to 3000%. Added "1 mp" option in grid size menu. Added "400%" option in zoom menu. Renamed "Toggle GZDoom rendering effects" action to "Toggle Geometry Effects". Sync camera position: Visual Camera height is now changed only if camera is above or below current sector. Classic modes: view was not redrawn after "Test map from current position" action. "Test map from current position" action: incorrect player start was used when a map had several Player 1 Start things.
20 lines
No EOL
506 B
JavaScript
20 lines
No EOL
506 B
JavaScript
function autoadjustheight(iframeid)
|
|
{
|
|
// Find the height of the internal page
|
|
var doc_height = document.getElementById(iframeid).contentWindow.document.body.scrollHeight;
|
|
|
|
// Change the height of the iframe
|
|
document.getElementById(iframeid).height = doc_height;
|
|
}
|
|
|
|
//mxd
|
|
function ToggleSpoiler(t){
|
|
var d = t.nextSibling.nextSibling;
|
|
if (d.style.display != '') {
|
|
d.style.display = '';
|
|
t.value = 'Hide image';
|
|
} else {
|
|
d.style.display = 'none';
|
|
t.value = 'Show image';
|
|
}
|
|
} |