Skip to content

Commit

Permalink
Update radarwidget.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jooste committed Feb 10, 2025
1 parent c436bb8 commit 447de28
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions bluesky/ui/qtgl/radarwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np

from bluesky.tools import areafilter
from PyQt6.QtCore import Qt, QEvent, QT_VERSION
from PyQt6.QtCore import Qt, QEvent

import bluesky as bs
from bluesky.core import Signal
Expand All @@ -21,12 +21,6 @@
# Register settings defaults
bs.settings.set_variable_defaults(gfx_path='graphics')

# Qt smaller than 5.6.2 needs a different approach to pinch gestures
CORRECT_PINCH = False
if QT_VERSION <= 0x050600:
import platform
CORRECT_PINCH = platform.system() == 'Darwin'


class RadarShaders(glh.ShaderSet):
''' Shaderset for the radar view. '''
Expand Down

0 comments on commit 447de28

Please sign in to comment.