Skip to content

Commit

Permalink
Adjusted MouseScrolling behaviour
Browse files Browse the repository at this point in the history
Now if you scroll on the scaling sliders you only jump 0.1 instead of
0.5. This allows finer and more precise scaling and it also fixes my OCD
:)
  • Loading branch information
marcopixel committed Jun 4, 2017
1 parent f82dc28 commit 9cde83d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Settings/general.ini
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ H=20
W=200
SolidColor=0,0,0,50
BarColor=255,255,255,255
MouseScrollUpAction=[!WriteKeyValue Variables ScaleVisualizer "(Clamp(#ScaleVisualizer#+0.05, 0, 2))" "#@#variables.ini"][!SetVariable ScaleVisualizer "(Clamp(#ScaleVisualizer#+0.05, 0, 2))"][!UpdateMeasure "MeasureCalcScaleVisualizer"][!UpdateMeter "MeterSliderScaleVisualizer"][!RefreshGroup "Spectrum"][!RefreshGroup "SongInfo"]
MouseScrollDownAction=[!WriteKeyValue Variables ScaleVisualizer "(Clamp(#ScaleVisualizer#-0.05, 0, 2))" "#@#variables.ini"][!SetVariable ScaleVisualizer "(Clamp(#ScaleVisualizer#-0.05, 0, 2))"][!UpdateMeasure "MeasureCalcScaleVisualizer"][!UpdateMeter "MeterSliderScaleVisualizer"][!RefreshGroup "Spectrum"][!RefreshGroup "SongInfo"]
MouseScrollUpAction=[!WriteKeyValue Variables ScaleVisualizer "(Clamp(#ScaleVisualizer#+0.01, 0, 2))" "#@#variables.ini"][!SetVariable ScaleVisualizer "(Clamp(#ScaleVisualizer#+0.01, 0, 2))"][!UpdateMeasure "MeasureCalcScaleVisualizer"][!UpdateMeter "MeterSliderScaleVisualizer"][!RefreshGroup "Spectrum"][!RefreshGroup "SongInfo"]
MouseScrollDownAction=[!WriteKeyValue Variables ScaleVisualizer "(Clamp(#ScaleVisualizer#-0.01, 0, 2))" "#@#variables.ini"][!SetVariable ScaleVisualizer "(Clamp(#ScaleVisualizer#-0.01, 0, 2))"][!UpdateMeasure "MeasureCalcScaleVisualizer"][!UpdateMeter "MeterSliderScaleVisualizer"][!RefreshGroup "Spectrum"][!RefreshGroup "SongInfo"]
LeftMouseDownAction=[!UpdateMeasure MeasureCalcIfMouseDownDisable][!SetVariable IsMouseDown 1][!EnableMeasure MeasureMouseScaleVisualizer]
LeftMouseUpAction=[!SetVariable IsMouseDown 0][!UpdateMeasure MeasureCalcIfMouseDownDisable][!RefreshGroup "Spectrum"]
MouseOverAction=[!SetVariable IsMouseOver 1][!SetVariable CurrentMouseSetting 0][!UpdateMeasure MeasureCalcIfMouseDownEnable]
Expand Down Expand Up @@ -259,8 +259,8 @@ H=20
W=200
SolidColor=0,0,0,50
BarColor=255,255,255,255
MouseScrollUpAction=[!WriteKeyValue Variables ScaleSongInformation "(Clamp(#ScaleSongInformation#+0.05, 0, 2))" "#@#variables.ini"][!SetVariable ScaleSongInformation "(Clamp(#ScaleSongInformation#+0.05, 0, 2))"][!UpdateMeasure "MeasureCalcScaleSongInformation"][!UpdateMeter "MeterSliderScaleSongInformation"][!RefreshGroup "SongInfo"]
MouseScrollDownAction=[!WriteKeyValue Variables ScaleSongInformation "(Clamp(#ScaleSongInformation#-0.05, 0, 2))" "#@#variables.ini"][!SetVariable ScaleSongInformation "(Clamp(#ScaleSongInformation#-0.05, 0, 2))"][!UpdateMeasure "MeasureCalcScaleSongInformation"][!UpdateMeter "MeterSliderScaleSongInformation"][!RefreshGroup "SongInfo"]
MouseScrollUpAction=[!WriteKeyValue Variables ScaleSongInformation "(Clamp(#ScaleSongInformation#+0.01, 0, 2))" "#@#variables.ini"][!SetVariable ScaleSongInformation "(Clamp(#ScaleSongInformation#+0.01, 0, 2))"][!UpdateMeasure "MeasureCalcScaleSongInformation"][!UpdateMeter "MeterSliderScaleSongInformation"][!RefreshGroup "SongInfo"]
MouseScrollDownAction=[!WriteKeyValue Variables ScaleSongInformation "(Clamp(#ScaleSongInformation#-0.01, 0, 2))" "#@#variables.ini"][!SetVariable ScaleSongInformation "(Clamp(#ScaleSongInformation#-0.01, 0, 2))"][!UpdateMeasure "MeasureCalcScaleSongInformation"][!UpdateMeter "MeterSliderScaleSongInformation"][!RefreshGroup "SongInfo"]
LeftMouseDownAction=[!UpdateMeasure MeasureCalcIfMouseDownDisable][!SetVariable IsMouseDown 1][!EnableMeasure MeasureMouseScaleSongInformation]
LeftMouseUpAction=[!SetVariable IsMouseDown 0][!UpdateMeasure MeasureCalcIfMouseDownDisable][!RefreshGroup "SongInfo"]
MouseOverAction=[!SetVariable IsMouseOver 1][!SetVariable CurrentMouseSetting 1][!UpdateMeasure MeasureCalcIfMouseDownEnable]
Expand Down

0 comments on commit 9cde83d

Please sign in to comment.