From e166dcab848eecc12118bdf416c6171e089c1ec7 Mon Sep 17 00:00:00 2001 From: Justin Young <62815737+jyoung4242@users.noreply.github.com> Date: Fri, 30 May 2025 15:34:45 -0400 Subject: [PATCH] fix: adjusted the ScreenAppender to not have user select of pointer events (#3428) Closes #3427 --- src/engine/Util/Log.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/Util/Log.ts b/src/engine/Util/Log.ts index e963d8d5..b996f607 100644 --- a/src/engine/Util/Log.ts +++ b/src/engine/Util/Log.ts @@ -274,6 +274,8 @@ export class ScreenAppender implements Appender { this._ctx = this.canvas.getContext('2d')!; this.canvas.style.position = 'absolute'; this.canvas.style.zIndex = options.zIndex?.toString() ?? '99'; + this.canvas.style.pointerEvents = 'none'; + this.canvas.style.userSelect = 'none'; document.body.appendChild(this.canvas); this._positionScreenAppenderCanvas(); options.engine.screen.events.on('resize', () => { -- 2.54.0