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 b6ec15d commit 6c42d7cCopy full SHA for 6c42d7c
src/ansys/tools/visualization_interface/backends/pyvista/widgets/ruler.py
@@ -71,14 +71,18 @@ def callback(self, state: bool) -> None:
71
self.plotter.remove_actor(self._actor)
72
self._actor = None
73
else:
74
+ if self._dark_mode:
75
+ color = "white"
76
+ else:
77
+ color = "black"
78
self._actor = self.plotter.show_bounds(
79
grid="front",
80
location="outer",
81
all_edges=False,
82
show_xaxis=True,
83
show_yaxis=True,
84
show_zaxis=True,
- color="black",
85
+ color=color,
86
xtitle="X Axis [m]",
87
ytitle="Y Axis [m]",
88
ztitle="Z Axis [m]",
0 commit comments