change range

This commit is contained in:
StageGuard
2020-12-23 12:21:56 +08:00
parent 38b1070cd4
commit 6e1d3dbca5

View File

@@ -3668,7 +3668,7 @@ gui.dialogs.showProgressDialog(function(o) {
element.v_disp.getLayoutParams().addRule(android.widget.RelativeLayout.ALIGN_PARENT_TOP); element.v_disp.getLayoutParams().addRule(android.widget.RelativeLayout.ALIGN_PARENT_TOP);
element.v_disp.setTextSize(12); element.v_disp.setTextSize(12);
element.v_disp.setTextColor(gui.config.colors[config.values.theme].sec_text); element.v_disp.setTextColor(gui.config.colors[config.values.theme].sec_text);
element.v_disp.setText(String(element.value)); element.v_disp.setText(String(Math.round(element.value)));
element.v_relative.addView(element.v_disp); element.v_relative.addView(element.v_disp);
element.v_seek = android.widget.SeekBar(ctx); element.v_seek = android.widget.SeekBar(ctx);
element.v_seek.setLayoutParams(new android.widget.RelativeLayout.LayoutParams(-1, -2)); element.v_seek.setLayoutParams(new android.widget.RelativeLayout.LayoutParams(-1, -2));