Skip to content

Commit

Permalink
examples/imgui_cmap_picker.py - update for imgui bundle 1.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom authored Feb 19, 2025
1 parent 9fd7664 commit 3846246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/imgui_cmap_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def update_gui():
for cmap_name, tex_id in cmap_data.items():
# text part of each item
clicked, enabled = imgui.menu_item(
cmap_name, None, p_selected=current_cmap == cmap_name
cmap_name, "", p_selected=current_cmap == cmap_name
)
imgui.same_line()
# the image part of each item, give it the texture id
Expand Down

0 comments on commit 3846246

Please sign in to comment.