Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
GO FORMAT YOURSELF (black)
Browse files Browse the repository at this point in the history
  • Loading branch information
cow-bot committed Jun 30, 2023
1 parent 35fcbee commit ab73681
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nexus-constructor.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ def closeEvent(self, event: QCloseEvent) -> None:
exit(0)
logging.basicConfig(level=logging.INFO)
if sys.platform == "darwin":
QApplication.setStyle("Fusion") # this helps macOS but causes Linux GUI to be unusable
QApplication.setStyle(
"Fusion"
) # this helps macOS but causes Linux GUI to be unusable
QApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling, True)
surfaceFormat = QSurfaceFormat()
surfaceFormat.setSwapInterval(1)
Expand Down

0 comments on commit ab73681

Please sign in to comment.