summaryrefslogtreecommitdiffstats
path: root/docs/graphs/ecosystem.png
diff options
context:
space:
mode:
authorLibravatar rubik83 <45452623+rubik83@users.noreply.github.com>2020-09-15 13:00:38 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-11-26 03:09:46 +0100
commit955b62ea2deec383fe693d169dba8d35633876a3 (patch)
tree82b44c17bfb8299b9aa0c5632e11c39546fb9789 /docs/graphs/ecosystem.png
parent9991a894286a52dc81c1f8e449a64395bbe5b5fe (diff)
downloadiced-955b62ea2deec383fe693d169dba8d35633876a3.tar.gz
iced-955b62ea2deec383fe693d169dba8d35633876a3.tar.bz2
iced-955b62ea2deec383fe693d169dba8d35633876a3.zip
fix slider handle_offset formula
change : let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(1.0)) to : let handle_offset = (bounds.width - handle_width) * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
Diffstat (limited to 'docs/graphs/ecosystem.png')
0 files changed, 0 insertions, 0 deletions