Skip to content

Commit

Permalink
Merge pull request #620 from Electrical-Age/bugfix/PID-slider-resolution
Browse files Browse the repository at this point in the history
PID chip GUI slider step is 1.0.
  • Loading branch information
cm0x4D committed Jan 27, 2017
2 parents 8b65d59 + 0da7813 commit 59784e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/mods/eln/sixnode/AnalogChips.kt
Expand Up @@ -346,6 +346,7 @@ class PIDRegulatorGui(val render: PIDRegulatorRender): GuiScreenEln() {

KpBar = newGuiVerticalTrackBar(10, 20, 20, 80)
KpBar?.setRange(0f, 20f)
KpBar?.setStepIdMax(20)
KpBar?.value = render.Kp
KiBar = newGuiVerticalTrackBar(40, 20, 20, 80)
KiBar?.value = render.Ki
Expand Down

0 comments on commit 59784e6

Please sign in to comment.