Skip to content

Commit

Permalink
fix colours in main window (#603)
Browse files Browse the repository at this point in the history
  • Loading branch information
t0mpr1c3 authored and dl1com committed Feb 25, 2024
1 parent 8bdb8a6 commit 7efa2b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/python/ayab/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def refresh(self):
else:
im = self.ayabimage.image
data = im.convert("RGBA").tobytes("raw", "RGBA")
qim = QImage(data, width, height, QImage.Format_ARGB32)
qim = QImage(data, width, height, QImage.Format_RGBA8888)
pixmap = QPixmap.fromImage(qim)

# add pattern and locate according to alignment
Expand Down

0 comments on commit 7efa2b4

Please sign in to comment.