Tweaking numeric input steps.
Hopefully these all make more sense for how they're used.
This commit is contained in:
parent
ffcd4a89c9
commit
adba445cd2
13 changed files with 63 additions and 59 deletions
|
|
@ -2306,7 +2306,7 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl
|
|||
altered=true;
|
||||
}
|
||||
ImGui::Indent();
|
||||
if (ImGui::InputInt("Hz",&customClock)) {
|
||||
if (ImGui::InputInt("Hz",&customClock,100,10000)) {
|
||||
if (customClock<MIN_CUSTOM_CLOCK) customClock=0;
|
||||
if (customClock>MAX_CUSTOM_CLOCK) customClock=MAX_CUSTOM_CLOCK;
|
||||
altered=true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue