add 99_PowerOFF

This commit is contained in:
cuu
2018-12-19 18:20:13 +08:00
parent 78a5412b0d
commit c6a915a7f5
7 changed files with 139 additions and 8 deletions

View File

@@ -186,8 +186,8 @@ func (self *SoundSlider) StepBack() {
if self.Value < 0 {
self.Value = 0
}
vol := self.snd_segs[self.Value][0]
vol := self.snd_segs[self.Value][0] + (self.snd_segs[self.Value][1]-self.snd_segs[self.Value][0])/2
if self.OnChangeCB != nil {
self.OnChangeCB(vol)