mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-30 13:52:47 -08:00
Minor changes
This commit is contained in:
1 parent
1ce9be3ed3
commit
a0857090a0
3 files changed
+12
-3
No files matched your search
@@ -159,6 +159,15 @@ public class SkeletonConfig extends EJBag {
|
||||
gui.refresh();
|
||||
});
|
||||
}
|
||||
|
||||
@ThreadSafe
|
||||
public void refreshAll() {
|
||||
java.awt.EventQueue.invokeLater(() -> {
|
||||
labels.forEach((joint, label) -> {
|
||||
label.setText(StringUtils.prettyNumber(server.humanPoseProcessor.getSkeletonConfig(joint)));
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
private void change(String joint, float diff) {
|
||||
float current = server.humanPoseProcessor.getSkeletonConfig(joint);
|
||||
|
||||
Reference in new issue
Block a user