issue-15 #21

Merged
sebastian merged 60 commits from issue-15 into main 2024-03-22 07:46:49 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 7e672ec117 - Show all commits

View File

@ -146,10 +146,12 @@ export class AppComponent implements OnInit{
} else {
parentGamesystemName = this.gamesystemOverview!.selectedGamesystemName;
}
const createdGamesystem = this.gameModel!.createGamesystem("New Gamesystem", parentGamesystemName);
if(createdGamesystem != undefined) {
this.gamesystemOverview!.refresh();
this.editor?.openGameModelComponent(createdGamesystem!);
this.editor?.openGameModelComponent(createdGamesystem);
}
}

View File

@ -102,6 +102,7 @@ export class GamescriptOverviewComponent implements OnInit {
refresh() {
this.dataSource.data = this.gameModel!.gamesystems;
this.resetSelectedGamesystem()
}
resetSelectedGamesystem() {