aboutsummaryrefslogtreecommitdiff
path: root/scripts/theme-studio/app-util.js
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-19 10:38:17 -0400
committerCraig Jennings <c@cjennings.net>2026-06-19 10:38:17 -0400
commit119dd8a59ffe7cc58864b750150d67db5668fd1e (patch)
tree0be9833e69472329156169d9a46450fdb91c94c6 /scripts/theme-studio/app-util.js
parent2d71dde79e2781316aeda9c6713a3ae2d9bb9452 (diff)
downloaddotemacs-119dd8a59ffe7cc58864b750150d67db5668fd1e.tar.gz
dotemacs-119dd8a59ffe7cc58864b750150d67db5668fd1e.zip
refactor(theme-studio): fold the box control into mkLineStyleControl
mkBoxControl duplicated the whole cluster/dropdown/paint/syncLocked machinery that mkLineStyleControl already provides for underline/strike/overline; it differed only in that its state object carries a width. I gave mkLineStyleControl an optional toState builder and reduced mkBoxControl to a wrapper that supplies it. The clear/reset tier functions already delegate their shared loop to clearUnlockedRows, so they were left as is. The buildTable/buildUITable/buildPkgTable skeleton merge is deferred: their shared control/expander/detail-editor/CSS machinery is now all extracted, and what remains is genuine per-tier column divergence that the browser gates pin by exact cell position.
Diffstat (limited to 'scripts/theme-studio/app-util.js')
0 files changed, 0 insertions, 0 deletions