Offspec/larger scalemode range

This commit is contained in:
Nicholas Kinney 2020-11-30 20:36:58 +00:00 committed by Marcel
parent bce6e1c6e9
commit 885e1aac61
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
### Changed ### Changed
- Doubled range of ScaleMode slider when set to Custom
### Removed ### Removed

View File

@ -600,7 +600,7 @@ impl<'a> Widget for SettingsWindow<'a> {
if let Some(new_val) = ImageSlider::continuous( if let Some(new_val) = ImageSlider::continuous(
scale.log(2.0), scale.log(2.0),
0.5f64.log(2.0), 0.5f64.log(2.0),
1.0f64.log(2.0), 2.0f64.log(2.0),
self.imgs.slider_indicator, self.imgs.slider_indicator,
self.imgs.slider, self.imgs.slider,
) )