Compare commits
2 Commits
release-d2
...
4d94aa7fe1
Author | SHA1 | Date | |
---|---|---|---|
4d94aa7fe1 | |||
9cbd58bfa7 |
@@ -13,7 +13,7 @@ AddSubSheetCommand::AddSubSheetCommand(
|
|||||||
auto &parent = getSubSheet(m_img, m_parentIdx);
|
auto &parent = getSubSheet(m_img, m_parentIdx);
|
||||||
if (!parent.subsheets.empty()) {
|
if (!parent.subsheets.empty()) {
|
||||||
auto idx = m_parentIdx;
|
auto idx = m_parentIdx;
|
||||||
idx.emplace_back(parent.subsheets.size());
|
idx.emplace_back(static_cast<uint32_t>(parent.subsheets.size()));
|
||||||
m_addedSheets.push_back(idx);
|
m_addedSheets.push_back(idx);
|
||||||
} else {
|
} else {
|
||||||
auto idx = m_parentIdx;
|
auto idx = m_parentIdx;
|
||||||
|
@@ -278,7 +278,7 @@ void TileSheetEditorImGui::draw(studio::Context&) noexcept {
|
|||||||
auto insertOnIdx = m_model.activeSubSheetIdx();
|
auto insertOnIdx = m_model.activeSubSheetIdx();
|
||||||
auto const &parent = m_model.activeSubSheet();
|
auto const &parent = m_model.activeSubSheet();
|
||||||
m_model.addSubsheet(insertOnIdx);
|
m_model.addSubsheet(insertOnIdx);
|
||||||
insertOnIdx.emplace_back(parent.subsheets.size() - 1);
|
insertOnIdx.emplace_back(static_cast<uint32_t>(parent.subsheets.size() - 1));
|
||||||
setActiveSubsheet(insertOnIdx);
|
setActiveSubsheet(insertOnIdx);
|
||||||
}
|
}
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
|
@@ -15,7 +15,7 @@ target_link_libraries(
|
|||||||
|
|
||||||
target_compile_definitions(
|
target_compile_definitions(
|
||||||
NostalgiaStudio PUBLIC
|
NostalgiaStudio PUBLIC
|
||||||
OLYMPIC_APP_VERSION="dev build"
|
OLYMPIC_APP_VERSION="d2025.06.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
|
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>dev build</string>
|
<string>d2025.06.0</string>
|
||||||
|
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>12.0.0</string>
|
<string>12.0.0</string>
|
||||||
|
Reference in New Issue
Block a user