提交 f28873cf 编写于 作者: S SteVen Batten

remove console log

上级 ecf6a017
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册