Skip to content

Commit

Permalink
Added more context
Browse files Browse the repository at this point in the history
  • Loading branch information
newcat committed Nov 18, 2020
1 parent 4260dbf commit 701f3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ To override values, create a scss file with the following contents:
Now you can import the scss file in your main.js/index.js file.

## Background
The grid background can be configured using the [`backgroundGrid`](!!API%{ "module": "@baklavajs/plugin-renderer-vue", "type": "class", "name": "ViewPlugin", "field": "backgroundGrid"}%) property. You can configure these variables:
The grid background can be configured using the [`backgroundGrid`](!!API%{ "module": "@baklavajs/plugin-renderer-vue", "type": "class", "name": "ViewPlugin", "field": "backgroundGrid"}%) property of the `ViewPlugin`. You can configure these variables:
* `gridSize`: The size of the main grid cells in pixels (default: `100`)
* `gridDivision`: How many sub-cells the main grid should be divided into when zoomed above the `subGridVisibleThreshold` (default: `5`)
* `subGridVisibleThreshold`: When the zoom factor is larger than this threshold, the sub grid appears (default `0.6`)
Expand Down

0 comments on commit 701f3f4

Please sign in to comment.