本文介绍了制作滑块以对齐中心的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个滑块,允许用户配置从-1(左)映射到+1(右)的音频捕获卡的音频平衡.我想要的是在-0.1到+0.1范围内时,滑块可捕捉到中心(值= 0).
I have a slider that allows the user to configure audio balance of an audio capture card which maps from -1 (left) to +1 (right). What I would like is the slider to snap to the center (value = 0) when in the range of, say -0.1 to +0.1.
推荐答案
这篇关于制作滑块以对齐中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!