fix: debug panel close button not working
Added event.preventDefault() and event.stopPropagation() to close button handler to prevent any interference from parent elements. Also added pointer-events: none to button icons to ensure clicks on the icon register on the button itself, not the <i> element. Changes: - src/systems/ui/debug.js: Added e.preventDefault/stopPropagation to close handler - src/systems/ui/debug.js: Added console.log for debugging - style.css: Added pointer-events: none to .rpg-debug-actions button i
This commit is contained in:
Reference in New Issue
Block a user