Skip to content

Commit

Permalink
update imgui
Browse files Browse the repository at this point in the history
  • Loading branch information
panxinmiao committed Nov 22, 2024
1 parent 5dda218 commit 5ec3cd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies = ["cffi>=1.15.0", "rubicon-objc>=0.4.1; sys_platform == 'darwin'"]
# For users
jupyter = ["jupyter_rfb>=0.4.2"]
glfw = ["glfw>=1.9"]
imgui = ["imgui-bundle>=1.2.1"]
imgui = ["imgui-bundle>=1.6.0"]
# For devs / ci
build = ["build", "hatchling", "requests", "twine"]
codegen = ["pytest", "numpy", "ruff"]
Expand Down
8 changes: 4 additions & 4 deletions wgpu/utils/imgui/imgui_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ class ImguiRenderer:
}

KEY_MAP_MOD = {
"Shift": imgui.Key.im_gui_mod_shift,
"Control": imgui.Key.im_gui_mod_ctrl,
"Alt": imgui.Key.im_gui_mod_alt,
"Meta": imgui.Key.im_gui_mod_super,
"Shift": imgui.Key.mod_shift,
"Control": imgui.Key.mod_ctrl,
"Alt": imgui.Key.mod_alt,
"Meta": imgui.Key.mod_super,
}

def __init__(
Expand Down

0 comments on commit 5ec3cd0

Please sign in to comment.