remove console log
This commit is contained in:
parent
ecf6a0172e
commit
f28873cfb7
1 changed files with 0 additions and 2 deletions
|
@ -80,8 +80,6 @@ export interface ILayoutAnchor {
|
|||
export function layout(viewportSize: number, viewSize: number, anchor: ILayoutAnchor): number {
|
||||
const anchorEnd = anchor.offset + anchor.size;
|
||||
|
||||
console.log(`viewport: ${viewportSize}, view: ${viewSize}`);
|
||||
|
||||
if (anchor.position === LayoutAnchorPosition.Before) {
|
||||
if (viewSize <= viewportSize - anchorEnd) {
|
||||
return anchorEnd; // happy case, lay it out after the anchor
|
||||
|
|
Loading…
Reference in a new issue