Compare commits
5 Commits
4d94aa7fe1
...
release-d2
Author | SHA1 | Date | |
---|---|---|---|
1057099fcf | |||
17577b6e8b | |||
db442e2775 | |||
23cd50d29e | |||
28088d1ed1 |
@@ -5,6 +5,7 @@
|
|||||||
* Fix file deletion to close file even if not active
|
* Fix file deletion to close file even if not active
|
||||||
* Fix file copy to work when creating a copy with the name of a previously
|
* Fix file copy to work when creating a copy with the name of a previously
|
||||||
deleted file
|
deleted file
|
||||||
|
* Fix crash that could occur after switching projects
|
||||||
* Make file picker popup accept on double click of a file
|
* Make file picker popup accept on double click of a file
|
||||||
* TileSheetEditor: Fix copy/cut/paste enablement when there is no selection
|
* TileSheetEditor: Fix copy/cut/paste enablement when there is no selection
|
||||||
* TileSheetEditor: Fix manual redo of draw actions, fix drawing to pixel 0, 0
|
* TileSheetEditor: Fix manual redo of draw actions, fix drawing to pixel 0, 0
|
||||||
@@ -13,8 +14,6 @@
|
|||||||
subsheets
|
subsheets
|
||||||
* PaletteEditor: Add RGB key shortcuts for focusing color channels
|
* PaletteEditor: Add RGB key shortcuts for focusing color channels
|
||||||
* PaletteEditor: Add color preview to color editor
|
* PaletteEditor: Add color preview to color editor
|
||||||
* PaletteEditor: Make RGB key shortcuts work when color channel inputs are
|
|
||||||
focused
|
|
||||||
|
|
||||||
# d2025.05.1
|
# d2025.05.1
|
||||||
|
|
||||||
|
@@ -194,6 +194,7 @@ void TileSheetEditorImGui::keyStateChanged(turbine::Key const key, bool const do
|
|||||||
void TileSheetEditorImGui::draw(studio::Context&) noexcept {
|
void TileSheetEditorImGui::draw(studio::Context&) noexcept {
|
||||||
setCopyEnabled(m_model.hasSelection());
|
setCopyEnabled(m_model.hasSelection());
|
||||||
setCutEnabled(m_model.hasSelection());
|
setCutEnabled(m_model.hasSelection());
|
||||||
|
setPasteEnabled(m_model.hasSelection());
|
||||||
if (ig::mainWinHasFocus() && m_tool == TileSheetTool::Select) {
|
if (ig::mainWinHasFocus() && m_tool == TileSheetTool::Select) {
|
||||||
if (ImGui::IsKeyDown(ImGuiKey_ModCtrl) && !m_palPathFocused) {
|
if (ImGui::IsKeyDown(ImGuiKey_ModCtrl) && !m_palPathFocused) {
|
||||||
if (ImGui::IsKeyPressed(ImGuiKey_A)) {
|
if (ImGui::IsKeyPressed(ImGuiKey_A)) {
|
||||||
|
@@ -649,6 +649,9 @@ ox::Error StudioUI::openProjectPath(ox::StringParam path) noexcept {
|
|||||||
ox::make_unique_catch<Project>(keelCtx(m_tctx), std::move(path), m_projectDataDir)
|
ox::make_unique_catch<Project>(keelCtx(m_tctx), std::move(path), m_projectDataDir)
|
||||||
.moveTo(m_project));
|
.moveTo(m_project));
|
||||||
m_sctx.project = m_project.get();
|
m_sctx.project = m_project.get();
|
||||||
|
m_activeEditor = nullptr;
|
||||||
|
m_activeEditorOnLastDraw = nullptr;
|
||||||
|
m_activeEditorUpdatePending = nullptr;
|
||||||
turbine::setWindowTitle(
|
turbine::setWindowTitle(
|
||||||
m_tctx, ox::sfmt("{} - {}", keelCtx(m_tctx).appName, m_project->projectPath()));
|
m_tctx, ox::sfmt("{} - {}", keelCtx(m_tctx).appName, m_project->projectPath()));
|
||||||
m_deleteConfirmation.deleteFile.connect(m_sctx.project, &Project::deleteItem);
|
m_deleteConfirmation.deleteFile.connect(m_sctx.project, &Project::deleteItem);
|
||||||
|
Reference in New Issue
Block a user