Skip to content

Commit

Permalink
pep8 clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jchanvfx committed Oct 12, 2022
1 parent 3dc9290 commit 93c5127
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion NodeGraphQt/widgets/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ class BaseMenu(QtWidgets.QMenu):
def __init__(self, *args, **kwargs):
super(BaseMenu, self).__init__(*args, **kwargs)
# text_color = self.palette().text().color().getRgb()
text_color = tuple(map(lambda i, j: i - j, (255, 255, 255), ViewerEnum.BACKGROUND_COLOR.value))
text_color = tuple(map(lambda i, j: i - j, (255, 255, 255),
ViewerEnum.BACKGROUND_COLOR.value))
selected_color = self.palette().highlight().color().getRgb()
style_dict = {
'QMenu': {
Expand Down

0 comments on commit 93c5127

Please sign in to comment.