Merge branch 'openfrontio:main' into custom-flag

This commit is contained in:
Aotumuri
2025-04-07 08:22:37 +09:00
committed by GitHub
16 changed files with 33 additions and 29 deletions
+2 -2
View File
@@ -205,7 +205,7 @@ export class OptionsMenu extends LitElement implements Layer {
? "Opens menu"
: "Attack"),
})}
${button({
<!-- ${button({
onClick: this.onToggleFocusLockedButtonClick,
title: "Lock Focus",
children:
@@ -213,7 +213,7 @@ export class OptionsMenu extends LitElement implements Layer {
(this.userSettings.focusLocked()
? "Focus locked"
: "Hover focus"),
})}
})} -->
</div>
</div>
`;
@@ -58,7 +58,6 @@ export class TerrainLayer implements Layer {
}
renderLayer(context: CanvasRenderingContext2D) {
console.log(this.transformHandler.scale);
if (this.transformHandler.scale < 1) {
context.imageSmoothingEnabled = true;
context.imageSmoothingQuality = "low";
+1 -1
View File
@@ -55,7 +55,7 @@ export class TerritoryLayer implements Layer {
paintPlayerBorder(player: PlayerView) {
player.borderTiles().then((playerBorderTiles) => {
playerBorderTiles.borderTiles.forEach((tile: TileRef) => {
this.paintTerritory(tile); // Immediately paint the tile instead of enqueueing
this.paintTerritory(tile, true); // Immediately paint the tile instead of enqueueing
});
});
}