diff --git a/ide/src/trace/component/SpWelcomePage.ts b/ide/src/trace/component/SpWelcomePage.ts index 59d9e29a342c59e0c9e15ab1b7e7bdcf25f86a06..1087ab995b337186c48646c99b9fef920a5c3516 100644 --- a/ide/src/trace/component/SpWelcomePage.ts +++ b/ide/src/trace/component/SpWelcomePage.ts @@ -30,12 +30,25 @@ export class SpWelcomePage extends BaseElement { align-content: center; background: var(--dark-background5,#F6F6F6); } + .home-page{ + margin-top: -100px; + } .lit-icon{ + margin-top: 50px; + margin-left: 50px; content: var(--dark-img,url('img/pic.png')); }
+
+

黄区域名: https://smartperf.rnd.huawei.com/smartperf/

+

绿区域名: https://devecotesting.rnd.huawei.com/smartperf/

+

3ms社区: http://3ms.huawei.com/km/groups/3956611/home?|=zh-cn

+

welink讨论群: 群1: 473395703, 群2: 485625665

+
+ +
`; } diff --git a/ide/src/trace/component/trace/base/RangeSelect.ts b/ide/src/trace/component/trace/base/RangeSelect.ts index 4ab5da2558d09bb5c36eecb7ae84d352621b2032..49843d4cff3c52b7cd101c91ad34eba662e18a57 100644 --- a/ide/src/trace/component/trace/base/RangeSelect.ts +++ b/ide/src/trace/component/trace/base/RangeSelect.ts @@ -90,7 +90,7 @@ export class RangeSelect { this.endY = 0; this.endY2 = mouseEventUp.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } else { - this.endY = mouseEventUp.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; + this.endY = mouseEventUp.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; this.endY2 = mouseEventUp.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } if (this.selectHandler) { @@ -125,7 +125,7 @@ export class RangeSelect { this.endY = 0; this.endY2 = mouseEventOut.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } else { - this.endY = mouseEventOut.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; + this.endY = mouseEventOut.pageY - this.rowsEL!.getBoundingClientRect().top + this.spacerEL.getBoundingClientRect().height; this.endY2 = mouseEventOut.pageY - this.spacerEL!.getBoundingClientRect().top - this.rowsPaneEL!.scrollTop; } if (this.selectHandler && this.isMouseDown) { @@ -232,6 +232,11 @@ export class RangeSelect { rt = new Rect(xMin, Math.min(this.startY2, this.endY2), xMax - xMin, Math.abs(this.startY2 - this.endY2)); } else { bound = it.getBoundingClientRect(); + if (spacerRect.height > 0 && + (bound.y + bound.height) < (spacerRect.y + spacerRect.height)) { + it.rangeSelect = false; + return false; + } itRect = Rect.getIntersect( bound, new Rect(rowsRect.x, rowsRect.y + spacerRect.height, rowsRect.width, rowsRect.height - spacerRect.height)