Skip to content

Commit

Permalink
fix: Extend limit on gridDepth slider
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Jun 25, 2022
1 parent 1f2f3a0 commit 3aa4abb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3094,7 +3094,7 @@ const DEFAULT_SETTINGS = {
jugglLayout: "hierarchy",
limitWriteBCCheckboxes: [],
CHECKBOX_STATES_OVERWRITTEN: false,
gridDefaultDepth: 10,
gridDefaultDepth: 25,
gridHeatmap: false,
heatmapColour: getComputedStyle(document.body).getPropertyValue("--text-accent"),
hierarchyNotes: [""],
Expand Down Expand Up @@ -38873,7 +38873,7 @@ function addTrailViewSettings(plugin, viewDetails) {
.setDesc('Limit the initial depth of the grid view')
.addSlider((slider) => {
slider
.setLimits(0, 10, 1)
.setLimits(0, 25, 1)
.setValue(settings.gridDefaultDepth)
.setDynamicTooltip();
slider.sliderEl.onblur = async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/TrailSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export function addTrailViewSettings(
.setDesc('Limit the initial depth of the grid view')
.addSlider((slider) => {
slider
.setLimits(0, 10, 1)
.setLimits(0, 25, 1)
.setValue(settings.gridDefaultDepth)
.setDynamicTooltip();

Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export const DEFAULT_SETTINGS: BCSettings = {
jugglLayout: "hierarchy",
limitWriteBCCheckboxes: [],
CHECKBOX_STATES_OVERWRITTEN: false,
gridDefaultDepth: 10,
gridDefaultDepth: 25,
gridHeatmap: false,
heatmapColour: getComputedStyle(document.body).getPropertyValue(
"--text-accent"
Expand Down

0 comments on commit 3aa4abb

Please sign in to comment.