mirror of
https://github.com/status-im/whispervis.git
synced 2025-02-02 08:25:06 +00:00
Change default steps number
This commit is contained in:
parent
0b0fc730ee
commit
c77baba272
@ -6,6 +6,12 @@ import (
|
||||
"github.com/gopherjs/vecty/elem"
|
||||
)
|
||||
|
||||
// DefaultForcesConfig specifies default configuration for physics simulation.
|
||||
var DefaultForcesConfig = ForcesConfig{
|
||||
Config: layout.DefaultConfig,
|
||||
Steps: 100,
|
||||
}
|
||||
|
||||
// ForceEditor represents forces and physics simulation configuration widget.
|
||||
type ForceEditor struct {
|
||||
vecty.Core
|
||||
@ -70,9 +76,3 @@ func (l *ForceEditor) Config() ForcesConfig {
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// DefaultForcesConfig specifies default configuration for physics simulation.
|
||||
var DefaultForcesConfig = ForcesConfig{
|
||||
Config: layout.DefaultConfig,
|
||||
Steps: 20,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user