mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-20 09:01:20 -08:00
Fix all config "Reset" buttons being timed
This commit is contained in:
1 file changed
+12
-1
@@ -109,7 +109,18 @@ public class SkeletonConfigGUI extends EJBagNoStretch {
|
||||
add(new AdjButton("+", config, 0.01f), c(1, row, 2));
|
||||
add(new SkeletonLabel(config), c(2, row, 2));
|
||||
add(new AdjButton("-", config, -0.01f), c(3, row, 2));
|
||||
add(new TimedResetButton("Reset", config), c(4, row, 2));
|
||||
|
||||
// Only use a timer on configs that need time to get into position for
|
||||
switch (config) {
|
||||
case TORSO:
|
||||
case LEGS_LENGTH:
|
||||
add(new TimedResetButton("Reset", config), c(4, row, 2));
|
||||
break;
|
||||
default:
|
||||
add(new ResetButton("Reset", config), c(4, row, 2));
|
||||
break;
|
||||
}
|
||||
|
||||
row++;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user