Auto spritesheet reload; operator symbols on Change All Frame Properties buttons

- Settings > File > Auto Spritesheet Reload (on by default, every 2 s):
  spritesheets whose files change on disk are reloaded as one undoable
  edit; ones with unsaved pixel edits are left alone, and the editor's own
  saves don't trigger a reload. Document::spritesheets_reload is shared
  with the Reload action.
- Change buttons read "= Adjust", "+ Add", "- Subtract", "× Multiply",
  "÷ Divide".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-03 20:55:05 -04:00
1 parent d8ab5ff018
commit 993957decf
10 files changed
+76 -25

No files matched your search

+1
View File
@@ -272,6 +272,7 @@ DockSpace ID=0x123F8F08 Window=0x6D581B32 Pos=8,62 Size=1902,991
for (auto [scale, min, max] : {std::tuple{&uiScale, UI_SCALE_MIN, UI_SCALE_MAX},
std::tuple{&renderScale, RENDER_SCALE_MIN, RENDER_SCALE_MAX}})
*scale = std::clamp(*scale < min ? math::unit_to_percent(*scale) : *scale, min, max);
fileAutoReloadInterval = std::clamp(fileAutoReloadInterval, AUTO_RELOAD_INTERVAL_MIN, AUTO_RELOAD_INTERVAL_MAX);
}
Options Settings::anm2_options_get() const { return {.isExtendedFormat = isFileExtendedFormat}; }