visualizer: use global canvas framerate to make things smoother by default
This commit is contained in:
parent
f66a011ec1
commit
ec6ba694cd
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ module.exports = class Visualizer extends _plots_base {
|
|||
|
||||
super(options)
|
||||
|
||||
this.fps = 30
|
||||
this.fps = CANVAS_FRAMERATE
|
||||
this.pips.y.min = Math.abs(this.getProp('range').min) >= 1000? this.getProp('range').min/1000+'k' : this.getProp('range').min
|
||||
this.pips.y.max = Math.abs(this.getProp('range').max) >= 1000? this.getProp('range').max/1000+'k' : this.getProp('range').max
|
||||
this.pips.x = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue