ai_edit.js: - Extend Base_tools_class and add load() + default_events() so mouse events actually wire up (was the root cause of tool not working) - Use get_mouse_info() for coordinate mapping instead of manual clientX/Y math — consistent with all other miniPaint tools - Fix _mouseToImage() to use mouse.x/y (already in image coords) and correct display-scale for overlay brush rendering - mousedown/mousemove/mouseup now guard on config.TOOL.name ai_edit.svg: new icon (brush + sparkle star) for the left toolbar layout.css: add .ai_edit:after CSS rule for the icon main.js: - Collapse right-panel Colors section by default (respects saved cookie so user preference persists) - Mount compact foreground/background color swatches at the bottom of the left toolbar; click either square to toggle the full color picker open/closed; syncs live with config.COLOR every 250ms https://claude.ai/code/session_01B58MaJCU1R6KwBDJCp8AfN
471 B
471 B