Skip to content

Wrong grid color property on mod exemple custom_theme.js #1569

@cesclass

Description

@cesclass

The usage of the "grid" property cause an ingame red grid.

const RESOURCES = {
"my-theme.json": {
map: {
background: "#abc",
grid: "#ccc",
gridLineWidth: 1,

It's necessary to use the "gridRegular" and "gridPlacing" propertys instead.

{
"map": {
"background": "#3e3f47",
"gridRegular": "rgba(255, 255, 255, 0.02)",
"gridPlacing": "rgba(255, 255, 255, 0.06)",
"gridLineWidth": 0.5,

So, I think that the exemple need to be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions