Skip to content

Commit

Permalink
ViewportUpdateMode.FullViewportUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
sdouglas committed Oct 23, 2022
1 parent 371f089 commit 6318c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cadnano2/views/customqgraphicsview.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(self, parent=None):

if GL:
self.setViewport(QGLWidget(QGLFormat(QGL.SampleBuffers)))
self.setViewportUpdateMode(QGraphicsView.FullViewportUpdate)
self.setViewportUpdateMode(QGraphicsView.ViewportUpdateMode.FullViewportUpdate)
else:
self.setViewportUpdateMode(QGraphicsView.ViewportUpdateMode.MinimalViewportUpdate)
# self.setViewportUpdateMode(QGraphicsView.SmartViewportUpdate)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='cadnano2',
version='2.4.7',
version='2.4.8',
description='Cadnano2 for PyQt6',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 6318c49

Please sign in to comment.