mirror of
https://github.com/google/blockly.git
synced 2026-01-15 21:07:14 +01:00
Add TODOs
This commit is contained in:
@@ -282,12 +282,12 @@ Blockly.Flyout.prototype.getMetrics_ = function() {
|
||||
var metrics = {
|
||||
viewHeight: viewHeight,
|
||||
viewWidth: viewWidth,
|
||||
contentHeight: (optionBox.height) * this.workspace_.scale,
|
||||
contentHeight: (optionBox.height + 2 * this.MARGIN) * this.workspace_.scale,
|
||||
contentWidth: (optionBox.width + 2 * this.MARGIN) * this.workspace_.scale,
|
||||
viewTop: -this.workspace_.scrollY,
|
||||
viewLeft: -this.workspace_.scrollX,
|
||||
contentTop: optionBox.y,
|
||||
contentLeft: optionBox.x,
|
||||
contentTop: 0, // TODO: #349
|
||||
contentLeft: 0, // TODO: #349
|
||||
absoluteTop: absoluteTop,
|
||||
absoluteLeft: absoluteLeft
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user