mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-07 11:09:34 +00:00
remove unnecessary constants
This commit is contained in:
@@ -219,8 +219,6 @@ export class TerritoryLayer implements Layer {
|
|||||||
// Step 1: Get dirty rect
|
// Step 1: Get dirty rect
|
||||||
const dx = this.minDirtyX;
|
const dx = this.minDirtyX;
|
||||||
const dy = this.minDirtyY;
|
const dy = this.minDirtyY;
|
||||||
const dw = this.maxDirtyX - dx + 1;
|
|
||||||
const dh = this.maxDirtyY - dy + 1;
|
|
||||||
|
|
||||||
// Step 2: Get visible bounds
|
// Step 2: Get visible bounds
|
||||||
const [topLeft, bottomRight] =
|
const [topLeft, bottomRight] =
|
||||||
|
|||||||
Reference in New Issue
Block a user