We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36f6f12 commit c9ae4e3Copy full SHA for c9ae4e3
NodeGraphQt/widgets/actions.py
@@ -8,7 +8,8 @@ class BaseMenu(QtWidgets.QMenu):
8
9
def __init__(self, *args, **kwargs):
10
super(BaseMenu, self).__init__(*args, **kwargs)
11
- text_color = self.palette().text().color().getRgb()
+ # text_color = self.palette().text().color().getRgb()
12
+ text_color = tuple(map(lambda i, j: i - j, (255, 255, 255), ViewerEnum.BACKGROUND_COLOR.value))
13
selected_color = self.palette().highlight().color().getRgb()
14
style_dict = {
15
'QMenu': {
0 commit comments