mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 08:59:40 +02:00
fix: Ralph panel toggle icon no longer changes erratically
The toggle icon was confusing because CSS rotation (90deg when expanded) combined with JS icon swapping caused left arrow → right arrow transitions. Changes: - Remove CSS rotation transform from .ralph-toggle - Use consistent down/up arrows matching Monitor panel convention - Collapsed: ▼ (down) - click to expand - Expanded: ▲ (up) - click to collapse Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -2168,10 +2168,10 @@ class ClaudemanApp {
|
||||
// Handle collapsed/expanded state
|
||||
if (this.innerStatePanelCollapsed) {
|
||||
panel.classList.add('collapsed');
|
||||
if (toggle) toggle.innerHTML = '◀'; // Left arrow when collapsed
|
||||
if (toggle) toggle.innerHTML = '▼'; // Down arrow when collapsed (click to expand)
|
||||
} else {
|
||||
panel.classList.remove('collapsed');
|
||||
if (toggle) toggle.innerHTML = '▲'; // Up arrow when expanded
|
||||
if (toggle) toggle.innerHTML = '▲'; // Up arrow when expanded (click to collapse)
|
||||
|
||||
// Update expanded view content
|
||||
this.updateRalphExpandedView(state);
|
||||
|
||||
Reference in New Issue
Block a user