Skip to content

Commit da528ac

Browse files
committed
fix: 移除隐私模式蓝色边框
1 parent ff68b58 commit da528ac

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

app/src/core/render/canvas2d/renderer.tsx

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ export class Renderer {
9393
this.renderViewElements(viewRectangle);
9494
}
9595

96-
private renderViewElements(viewRectangle: Rectangle) {
96+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
97+
private renderViewElements(_viewRectangle: Rectangle) {
9798
this.renderSpecialKeys();
9899
this.renderCenterPointer();
99-
this.renderPrivacyBoard(viewRectangle);
100100
this.renderDebugDetails();
101101
}
102102

@@ -164,17 +164,6 @@ export class Renderer {
164164
}
165165
}
166166

167-
private renderPrivacyBoard(viewRectangle: Rectangle) {
168-
// 画隐私保护边
169-
if (Settings.protectingPrivacy) {
170-
this.project.shapeRenderer.renderRect(
171-
this.transformWorld2View(viewRectangle),
172-
Color.Transparent,
173-
new Color(33, 54, 167, 0.5),
174-
50,
175-
);
176-
}
177-
}
178167
/** 鼠标hover的边 */
179168
private renderHoverCollisionBox() {
180169
for (const edge of this.project.mouseInteraction.hoverEdges) {

0 commit comments

Comments
 (0)