Skip to content

Commit f7f26b2

Browse files
committed
Minor overlay menu bug fix
1 parent f3a6412 commit f7f26b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mujoco_viewer/mujoco_viewer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def add_overlay(gridpos, text1, text2):
199199
add_overlay(
200200
topleft,
201201
"Referenc[e] frames",
202-
"On" if self.vopt.frame == 1 else "Off")
202+
"On" if self.vopt.frame != 0 else "Off")
203203
add_overlay(topleft, "[H]ide Menus", "")
204204
if self._image_idx > 0:
205205
fname = self._image_path % (self._image_idx - 1)

0 commit comments

Comments
 (0)