scale should be greater or equal 1
This commit is contained in:
parent
a749d8e0ba
commit
84d1514456
|
@ -52,7 +52,7 @@ func (cfg *Config) init() {
|
|||
if cfg.MapSize <= 0 {
|
||||
cfg.MapSize = defaultMapSize
|
||||
}
|
||||
if cfg.Scale <= 0 {
|
||||
if cfg.Scale < 1 {
|
||||
cfg.Scale = 1
|
||||
}
|
||||
if cfg.CenterX <= 0 {
|
||||
|
|
Reference in New Issue