From 8e3d56a2edca7b113c0ccabd3154acaa8bd04c02 Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Wed, 18 Sep 2024 09:50:59 +0200 Subject: [PATCH] remove debug text overlay --- wgpu/gui/qt.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wgpu/gui/qt.py b/wgpu/gui/qt.py index c66b4a4e..462331f6 100644 --- a/wgpu/gui/qt.py +++ b/wgpu/gui/qt.py @@ -410,9 +410,9 @@ def present_image(self, image_data, **kwargs): painter.drawImage(rect2, image, rect1) # Uncomment for testing purposes - painter.setPen(QtGui.QColor("#0000ff")) - painter.setFont(QtGui.QFont("Arial", 30)) - painter.drawText(100, 100, "This is an image") + # painter.setPen(QtGui.QColor("#0000ff")) + # painter.setFont(QtGui.QFont("Arial", 30)) + # painter.drawText(100, 100, "This is an image") class QWgpuCanvas(WgpuAutoGui, WgpuCanvasBase, QtWidgets.QWidget):