kotlin-graphics / imgui

Bloat-free Immediate Mode Graphical User interface for JVM with minimal dependencies (rewrite of dear imgui)
MIT License
600 stars 36 forks source link

Target the correct flag for noBackground #120

Closed zeroeightysix closed 4 years ago

zeroeightysix commented 4 years ago

Previously the demo window would target the wrong flag for its No background checkbox:

if (noBackground) windowFlags = windowFlags or NoNav

This PR corrects that mistake.

image