Commit graph

6 commits

Author SHA1 Message Date
isaprettycoolguy@protonmail.com
1fa2153bf1 chore: address obsidianmd lint and popout-window compat (1.2.1)
- Sentence-case: rephrase "GM" → "Game master"; remove disable comments;
  autofixer lowercases "🎲 Open tables view" / "← Back" to comply
- no-static-styles-assignment: dynamic colors now use CSS custom properties
  (--duckmage-bg / --duckmage-border-color / --duckmage-fg) consumed by
  existing classes; static positions moved to small modifier classes
  (duckmage-rt-roll-btn-spaced, duckmage-wf-steps-list, etc.); terrain
  toolbar uses is-terrain-preview / is-eyedropper-active toggles;
  createIconEl uses new duckmage-masked-icon class
- Popout-window compat: setTimeout / clearTimeout / requestAnimationFrame
  → window.X; document.X → activeDocument.X across all view/modal files
- Unnecessary `as ArrayBuffer`: replace `data.buffer.slice(...) as ArrayBuffer`
  with `new ArrayBuffer + Uint8Array.set` — gets a real ArrayBuffer without
  the assertion (also avoids ArrayBufferLike narrowing)
- Deprecated SettingTab.display(): extract body into private renderSettings();
  display() and post-action refresh both call it
- eslint.config: add activeDocument + activeWindow to globals so the renamed
  identifiers don't trip no-undef

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-05 23:04:11 -04:00
nyxsys
7f15497fad fix bugs and linter errors 2026-03-31 13:42:10 -04:00
nyxsys
5e475dad6a continue lint fixes 2026-03-30 18:33:25 -04:00
nyxsys
ca49d08331 fix issues from pr, begin optimizing again 2026-03-30 16:19:57 -04:00
isaprettycoolguy@protonmail.com
b1da4c3115 remove deprecated 2026-03-27 16:53:23 -04:00
isaprettycoolguy@protonmail.com
68d4edb65d reorganize files 2026-03-20 15:35:35 -04:00
Renamed from src/RandomTableModal.ts (Browse further)