Remove goog.style.getPageOffset

This commit is contained in:
nicholas
2016-03-25 20:52:26 +13:00
committed by Nicholas L
parent 6da5a1e9f7
commit ea1c7a6551
2 changed files with 9 additions and 8 deletions

View File

@@ -1434,13 +1434,13 @@ ol.Map.prototype.updateSize = function() {
right: parseFloat(targetElementComputedStyle['paddingRight']),
top: parseFloat(targetElementComputedStyle['paddingTop']),
bottom: parseFloat(targetElementComputedStyle['paddingBottom'])
}; //goog.style.getPaddingBox(element);
};
var borderBox = {
left: parseFloat(targetElementComputedStyle['borderLeftWidth']),
right: parseFloat(targetElementComputedStyle['borderRightWidth']),
top: parseFloat(targetElementComputedStyle['borderTopWidth']),
bottom: parseFloat(targetElementComputedStyle['borderBottomWidth'])
}; //goog.style.getBorderBox(element);
};
var size = {
width: borderBoxSize.width -
borderBox.left - paddingBox.left -