il resize del canto aggiorna anche il viewer
This commit is contained in:
parent
af2a8dd3f8
commit
af6ad62c52
|
@ -5,6 +5,7 @@
|
|||
|
||||
var resetResult;
|
||||
var lsid;
|
||||
var getDimDiv;
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
|
@ -480,6 +481,10 @@ $(" .Ma, .Co, .Su, .Pa").hover(function(idx, element) {
|
|||
minimapContent.style.float = 'right';
|
||||
}
|
||||
|
||||
getDimDiv = function(){
|
||||
getDimensionsDiv();
|
||||
}
|
||||
|
||||
function trackScroll() {
|
||||
//console.log(window.scrollY)
|
||||
viewer.style.transform = `translateY(${window.scrollY * realScale}px)`
|
||||
|
|
|
@ -110,7 +110,10 @@ $(document).ready(function() {
|
|||
$(".visCanto").resizable({
|
||||
handles: "s",
|
||||
minHeight: 80,
|
||||
maxHeight: 900,
|
||||
maxHeight: 800,
|
||||
resize: function(event, ui) {
|
||||
getDimDiv();
|
||||
},
|
||||
stop: function(event, ui) {
|
||||
ui.element.width("");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue