mirror of
https://github.com/dualshock-tools/dualshock-tools.github.io.git
synced 2026-07-16 05:34:11 +03:00
Rename the new button
This commit is contained in:
committed by
dualshock-tools
parent
53456b9663
commit
4fe737aed1
10
core.js
10
core.js
@@ -1172,8 +1172,8 @@ function gboot() {
|
||||
lang_init();
|
||||
init_svg_colors();
|
||||
welcome_modal();
|
||||
$("input[name='displayMode']").on('change', on_display_mode_change);
|
||||
on_display_mode_change();
|
||||
$("input[name='displayMode']").on('change', on_stick_mode_change);
|
||||
on_stick_mode_change();
|
||||
});
|
||||
|
||||
if (!("hid" in navigator)) {
|
||||
@@ -1610,7 +1610,7 @@ function apply_center_zoom(x, y) {
|
||||
};
|
||||
}
|
||||
|
||||
function on_display_mode_change() {
|
||||
function on_stick_mode_change() {
|
||||
enable_circ_test = circ_checked();
|
||||
ll_data.fill(0);
|
||||
rr_data.fill(0);
|
||||
@@ -2242,7 +2242,7 @@ async function multi_calib_sticks_end() {
|
||||
await ds4_calibrate_sticks_end();
|
||||
else
|
||||
await ds5_calibrate_sticks_end();
|
||||
on_circ_check_change();
|
||||
on_stick_mode_change();
|
||||
}
|
||||
|
||||
async function multi_calib_sticks_sample() {
|
||||
@@ -2273,7 +2273,7 @@ async function multi_calibrate_range_on_close() {
|
||||
await ds4_calibrate_range_end();
|
||||
else
|
||||
await ds5_calibrate_range_end();
|
||||
on_circ_check_change();
|
||||
on_stick_mode_change();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -302,7 +302,7 @@ dl.row dd { font-family: monospace; }
|
||||
<label class="btn btn-outline-secondary btn-sm ds-i18n" for="normalMode">Normal</label>
|
||||
|
||||
<input type="radio" class="btn-check" name="displayMode" id="centerZoomMode" value="centerZoom">
|
||||
<label class="btn btn-outline-secondary btn-sm ds-i18n" for="centerZoomMode">Center zoom</label>
|
||||
<label class="btn btn-outline-secondary btn-sm ds-i18n" for="centerZoomMode">10x zoom</label>
|
||||
|
||||
<input type="radio" class="btn-check" name="displayMode" id="checkCircularityMode" value="checkCircularity">
|
||||
<label class="btn btn-outline-secondary btn-sm ds-i18n" for="checkCircularityMode">Check circularity</label>
|
||||
|
||||
Reference in New Issue
Block a user