Skip to content
Snippets Groups Projects
  • Joseph Walton-Rivers's avatar
    9b91eff8
    Don't forward keys when imgui has focus. · 9b91eff8
    Joseph Walton-Rivers authored
    This prevents typing in boxes trigging key events for imgui.
    It's not a perfect fix, because you still need the release event to
    propgate (ie, when holding down a key then selecting an imgui text box).
    
    But it'll do without tight imgui/fggl integration.
    9b91eff8
    History
    Don't forward keys when imgui has focus.
    Joseph Walton-Rivers authored
    This prevents typing in boxes trigging key events for imgui.
    It's not a perfect fix, because you still need the release event to
    propgate (ie, when holding down a key then selecting an imgui text box).
    
    But it'll do without tight imgui/fggl integration.