Compare commits

..

1 Commits

Author SHA1 Message Date
833ce33015 [nostalgia/studio] Add command for bundling Mac app
All checks were successful
Build / build (push) Successful in 1m14s
2025-05-07 02:31:40 -05:00
2 changed files with 6 additions and 6 deletions

View File

@ -6,14 +6,14 @@
namespace nostalgia::gfx {
PaletteChangeCommand::PaletteChangeCommand(
gfx::PaletteChangeCommand::PaletteChangeCommand(
TileSheet::SubSheetIdx idx,
TileSheet &img,
ox::StringViewCR newPalette) noexcept:
m_img{img},
m_idx{std::move(idx)},
m_oldPalette{m_img.defaultPalette},
m_newPalette{ox::sfmt<ox::IString<43>>("uuid://{}", newPalette)} {
m_img(img),
m_idx(std::move(idx)),
m_oldPalette(m_img.defaultPalette),
m_newPalette(ox::sfmt<ox::IString<43>>("uuid://{}", newPalette)) {
}
ox::Error PaletteChangeCommand::redo() noexcept {