This commit is contained in:
33333-33333 2026-07-16 22:12:03 +09:00
commit 2cc2f003df
71 changed files with 3359 additions and 1027 deletions

View file

@ -320,7 +320,7 @@ function renderToolPalette() {
if (!def || def.simulationOnly || toolId === "observe") continue;
const btn = document.createElement("button");
btn.className = "tool";
const hasPhysicsIcon = category.id === "physics" && attachPhysicsToolIcon(btn, toolId);
const hasPhysicsIcon = attachPhysicsToolIcon(btn, toolId);
const hasTextIcon = !hasPhysicsIcon && applyToolTextIcon(btn, def, toolId);
if (!hasPhysicsIcon && !hasTextIcon) applyToolImageIcon(btn, def);
btn.dataset.tool = toolId;