
HUGE ImGui Update Broke Everything Part 2 // Renderer 2025 // Hazel Engine Stream (04.06.2025)
Watch Live ► https://www.twitch.tv/thecherno
Discord channel for live streams ► https://discord.gg/VFuHXUtBcS
*0:00 - Technical Debugging Session*
- Started debugging why menu bar clicks weren't working properly in the updated ImGui integration
- Discovered issues with button behavior and press/release event handling
- Found that pressed and menu_is_open were never true in the same frame, preventing proper menu closing
*30:00 - Root Cause Discovery*
- Identified that focus_window() was being called on mouse clicks, which was interfering with menu behavior
- The focus window call was automatically closing popups before the menu button logic could process the click
- Temporarily removed the focus window behavior to fix menu interactions
*48:00 - Viewport Panel Issues*
- Encountered mysterious viewport panel attachment problems where panels couldn't be moved
- Discovered that a disabled viewport settings block was causing layout corruption
- Fixed by re-enabling the viewport settings code that was previously commented out with if false
*1:10:00 - Title Bar Dragging Problems*
- Worked on making the entire title bar draggable, not just a small portion
- Struggled with hit testing issues where is_mouse_hovering_rect() wasn't working properly in certain areas
- Found that the clip parameter was defaulting to true, causing the hit test to be clipped to the current window bounds
- Solved by setting clip=false in the hit test function
*2:30:00 - Non-Client Area Mouse Events*
- Discovered that mouse events in the title bar (non-client area) weren't being passed to the application
- Had to implement custom WM_NCLBUTTONDOWN and WM_NCLBUTTONUP message handling in the Windows message loop
- This allowed the application to receive mouse events even when clicking on the title bar region
*2:45:00 - Final UI Polish*
- Fine-tuned button positioning and spacing in the title bar
- Addressed remaining visual inconsistencies between old and new Hazel versions
- Noted remaining issues: texture filtering problems, missing text in content browser, and memory leaks (~21GB)
_Stream Summary by Claude Sonnet 4_





![1 DEV from EVERY COUNTRY makes a VIDEO GAME! [episode 1]](https://img.youtube.com/vi/xN-otEIg9Po/hqdefault.jpg)















![[게임 개발 일지 111] 검사 파티 이동 모션 찐막 수정 #게임 #1인개발 #indiedev](https://img.youtube.com/vi/-fniiRWyhj8/hqdefault.jpg)
















![[2D 게임 개발 꿀팁 시리즈] 스프라이트 아틀라스](https://img.youtube.com/vi/FHHm73vgABw/hqdefault.jpg)

![[2D 게임 개발 꿀팁 시리즈] 텍스처](https://img.youtube.com/vi/eXgMHUu9bls/hqdefault.jpg)








![[2D 게임 개발 꿀팁 시리즈] 2D 애니메이션 샘플](https://img.youtube.com/vi/-SQtbs9tyxw/hqdefault.jpg)













































![[2D 게임 개발 꿀팁 시리즈] Variant Sprite Atlas](https://img.youtube.com/vi/uWy9Rwv7DBs/hqdefault.jpg)



























![[2D 게임 개발 꿀팁 시리즈] Sprite Atlas 주의점](https://img.youtube.com/vi/TPOxYjsioqY/hqdefault.jpg)




















































































































































































































































































































































































