refactor(es modules): continue migration

This commit is contained in:
Azgaar 2022-06-26 00:57:53 +03:00
parent 4a04a8622d
commit 922c6e2431
39 changed files with 551 additions and 589 deletions

View file

@ -28,7 +28,7 @@ export class Battle {
$("#battleScreen").dialog({
title: this.name,
resizable: false,
width: fitContent(),
width: "fit-content",
position: {my: "center", at: "center", of: "#map"},
close: () => Battle.prototype.context.cancelResults()
});
@ -235,7 +235,7 @@ export class Battle {
$("#regimentSelectorScreen").dialog({
resizable: false,
width: fitContent(),
width: "fit-content",
title: "Add regiment to the battle",
position: {my: "left center", at: "right+10 center", of: "#battleScreen"},
close: addSideClosed,