Compare commits

...

3 Commits

Author SHA1 Message Date
49946ae170 [nostalgia] Update release notes
All checks were successful
Build / build (push) Successful in 1m21s
2025-05-30 23:51:48 -05:00
aa59db7a31 [nostalgia/gfx/studio/tilesheet] Fix draw command to work on same pixel after switching subsheets
All checks were successful
Build / build (push) Successful in 1m25s
2025-05-30 23:49:36 -05:00
cb25e610bb [nostalgia/gfx/studio/tilesheet] Fix manual redo of draw actions, fix drawing to pixel 0, 0 as first action
All checks were successful
Build / build (push) Successful in 1m22s
2025-05-29 22:14:41 -05:00
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,13 @@
# d2025.06.0
* Add ability to remember recent projects in config
* PaletteEditor: Add RGB key shortcuts for focusing color channels
# d2025.05.2
* TileSheetEditor: Fix manual redo of draw actions, fix drawing to pixel 0, 0 as first action (cce5f52f96511694afd98f0b9b6b1f19c06ecd20)
* TileSheetEditor: Fix draw command to work on same pixel after switching subsheets (514cb978351ee4b0a5335c22a506a6d9f608f0a7)
# d2025.05.1
* TileSheetEditor: Fix overrun errors when switching subsheets, clear selection

View File

@ -198,6 +198,7 @@ void TileSheetEditorModel::endDrawCommand() noexcept {
if (m_ongoingDrawCommand) {
m_ongoingDrawCommand->finish();
m_ongoingDrawCommand = nullptr;
m_lastDrawUpdatePt = {-1, -1};
}
}
@ -230,6 +231,7 @@ void TileSheetEditorModel::setActiveSubsheet(TileSheet::SubSheetIdx const&idx) n
m_activeSubsSheetIdx = idx;
this->activeSubsheetChanged.emit(m_activeSubsSheetIdx);
clearSelection();
m_lastDrawUpdatePt = {-1, -1};
}
void TileSheetEditorModel::fill(ox::Point const&pt, int const palIdx) noexcept {

View File

@ -35,7 +35,7 @@ class TileSheetEditorModel: public ox::SignalHandler {
studio::SelectionTracker m_selTracker;
ox::Optional<studio::Selection> m_selection;
ox::Point m_lineStartPt;
ox::Point m_lastDrawUpdatePt;
ox::Point m_lastDrawUpdatePt{-1, -1};
bool m_updated = false;
public: