Ticket #2866: summary.js.patch

File summary.js.patch, 3.8 KB (added by Jaison, 10 years ago)

I have add summary patch.

  • summary.js

     
    3737{
    3838    // LOCAL CONSTS, VARIABLES & FUNCTIONS
    3939    // const for filtering long collective headings
    40     const LONG_HEADING_WIDTH = 250;
     40    const LONG_HEADING_WIDTH = 260;
    4141    // number of panels
    4242    const PANELS_COUNT = 6;
    4343    // alpha for player box
     
    8686                "buildingsHeading":          {"yStart": 16, "width": (85 * 7 + 105) },  // width = 735
    8787                "totalBuildingsHeading":     {"yStart": 34, "width": 105 },
    8888                "houseBuildingsHeading":     {"yStart": 34, "width": 85 },
    89                 "economicBuildingsHeading":  {"yStart": 34, "width": 85 },
    90                 "outpostBuildingsHeading":   {"yStart": 34, "width": 85 },
     89                "economicBuildingsHeading":  {"yStart": 34, "width": 90 },
     90                "outpostBuildingsHeading":   {"yStart": 34, "width": 87 },
    9191                "militaryBuildingsHeading":  {"yStart": 34, "width": 85 },
    9292                "fortressBuildingsHeading":  {"yStart": 34, "width": 85 },
    93                 "civCentreBuildingsHeading": {"yStart": 34, "width": 85 },
     93                "civCentreBuildingsHeading": {"yStart": 34, "width": 110 },
    9494                "wonderBuildingsHeading":    {"yStart": 34, "width": 85 }
    9595            },
    9696            "counters": {   // counters on buildings panel
    9797                "totalBuildings":     {"width": 105, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    9898                "houseBuildings":     {"width": 85,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    99                 "economicBuildings":  {"width": 85,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    100                 "outpostBuildings":   {"width": 85,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
     99                "economicBuildings":  {"width": 90,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
     100                "outpostBuildings":   {"width": 87,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    101101                "militaryBuildings":  {"width": 85,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    102102                "fortressBuildings":  {"width": 85,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    103                 "civCentreBuildings": {"width": 85,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
     103                "civCentreBuildings": {"width": 110,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    104104                "wonderBuildings":    {"width": 85,  "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }
    105105            }
    106106        },
     
    155155                "exchangedWoodHeading":    {"yStart": 16, "width": 100 },
    156156                "exchangedStoneHeading":   {"yStart": 16, "width": 100 },
    157157                "exchangedMetalHeading":   {"yStart": 16, "width": 100 },
    158                 "barterEfficiencyHeading": {"yStart": 16, "width": 100 },
    159                 "tradeIncomeHeading":      {"yStart": 16, "width": 100 }
     158                "barterEfficiencyHeading": {"yStart": 16, "width": 110 },
     159                "tradeIncomeHeading":      {"yStart": 16, "width": 130 }
    160160            },
    161161            "counters": {   // counters on market panel
    162162                "exchangedFood":    {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
     
    163163                "exchangedWood":    {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    164164                "exchangedStone":   {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    165165                "exchangedMetal":   {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    166                 "barterEfficiency": {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
    167                 "tradeIncome":      {"width": 100, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }
     166                "barterEfficiency": {"width": 110, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] },
     167                "tradeIncome":      {"width": 130, "objects": [ ], "teamsScores": [ ], "teamsScoresCaption": [ ] }
    168168            }
    169169        },
    170170        "miscelanous": {    // miscelanous panel