From 92ef8d0cae35a136f69e8f1975eb7058789eafd2 Mon Sep 17 00:00:00 2001 From: Jakub Klapacz Date: Wed, 7 May 2025 15:51:00 -0500 Subject: [PATCH] Fix blue/red artifacting in some rectangles on mac VNC connection --- core/display.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/display.js b/core/display.js index 79d75afc..f63a0f16 100644 --- a/core/display.js +++ b/core/display.js @@ -335,6 +335,10 @@ export default class Display { 'color': color }); } else { + // For Virtualization server, swap R and B channels + if (this._isVirtualizationServer) { + color = [color[2], color[1], color[0]]; + } this._setFillColor(color); this._drawCtx.fillRect(x, y, width, height); this._damage(x, y, width, height);