mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Adjust WidgetDiv height to fit on screen
This commit is contained in:
@@ -148,5 +148,5 @@ Blockly.WidgetDiv.position = function(anchorX, anchorY, windowSize,
|
||||
}
|
||||
Blockly.WidgetDiv.DIV.style.left = anchorX + 'px';
|
||||
Blockly.WidgetDiv.DIV.style.top = anchorY + 'px';
|
||||
Blockly.WidgetDiv.DIV.style.height = windowSize.height + 'px';
|
||||
Blockly.WidgetDiv.DIV.style.height = (windowSize.height - anchorY) + 'px';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user