mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Limit vertical scaling UI minimum to 0.1
This commit is contained in:
parent
92af46c08f
commit
b3ae2abbd2
@ -47,6 +47,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Cultist dungeons now always have exactly one portal which leads to the boss room.
|
||||
- Prompt dialogs are now localized.
|
||||
- Image-export for wiki now produces correct images of items as they look like in-game.
|
||||
- Limit the minimum vertical scaling value in the world generation UI to 0.1 to prevent an overflow
|
||||
|
||||
## [0.16.0] - 2024-03-30
|
||||
|
||||
|
@ -400,7 +400,7 @@ impl Screen {
|
||||
gen_content.push(
|
||||
Slider::new(
|
||||
&mut self.map_vertical_scale,
|
||||
0.0..=160.0,
|
||||
0.1..=160.0,
|
||||
gen_opts.scale * 10.0,
|
||||
move |s| message(WorldChange::Scale(s / 10.0)),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user