Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drip
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
backup
Drip
Commits
6f36428f
Commit
6f36428f
authored
4 years ago
by
bl00dymarie
Committed by
Sofiya Tepikin
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Changes temp range and default values
parent
fcde07f2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.js
+4
-4
4 additions, 4 deletions
config.js
local-storage.js
+1
-1
1 addition, 1 deletion
local-storage.js
with
5 additions
and
5 deletions
config.js
+
4
−
4
View file @
6f36428f
...
...
@@ -27,11 +27,11 @@ export const CHART_SYMPTOM_HEIGHT_RATIO = 0.08
export
const
CHART_XAXIS_HEIGHT_RATIO
=
0.1
export
const
CHART_YAXIS_WIDTH
=
32
export
const
TEMP_SCALE_MAX
=
3
8
export
const
TEMP_SCALE_MIN
=
35
export
const
TEMP_SCALE_MAX
=
3
7.5
export
const
TEMP_SCALE_MIN
=
35
.5
export
const
TEMP_SCALE_UNITS
=
0.1
export
const
TEMP_MAX
=
40
export
const
TEMP_MIN
=
3
4
export
const
TEMP_MAX
=
39
export
const
TEMP_MIN
=
3
5
export
const
TEMP_SLIDER_STEP
=
0.5
export
const
HIT_SLOP
=
{
top
:
20
,
bottom
:
20
,
left
:
20
,
right
:
20
}
This diff is collapsed.
Click to expand it.
local-storage.js
+
1
−
1
View file @
6f36428f
...
...
@@ -10,7 +10,7 @@ export const unitObservable = Observable()
unitObservable
.
set
(
TEMP_SCALE_UNITS
)
scaleObservable
((
scale
)
=>
{
const
scaleRange
=
scale
.
max
-
scale
.
min
if
(
scaleRange
<=
2
)
{
if
(
scaleRange
<=
1.5
)
{
unitObservable
.
set
(
0.1
)
}
else
{
unitObservable
.
set
(
0.5
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment