diff options
| author | diogo464 <[email protected]> | 2024-10-06 10:44:22 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2024-10-06 10:44:22 +0100 |
| commit | 048b7fc65245061100f40d2ddf40467eec02fabd (patch) | |
| tree | ce7bd34d484dfa4ac617c692f2c9593abf74ed47 /content/logger.html | |
| parent | b813dda8225ccca4a000c390683a1136aaabed17 (diff) | |
added slider for shape vertex radius
Diffstat (limited to 'content/logger.html')
| -rw-r--r-- | content/logger.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/content/logger.html b/content/logger.html index 4c0700a..e187699 100644 --- a/content/logger.html +++ b/content/logger.html | |||
| @@ -35,6 +35,12 @@ | |||
| 35 | <td>Heading</td> | 35 | <td>Heading</td> |
| 36 | <td id="value-heading"></td> | 36 | <td id="value-heading"></td> |
| 37 | </tr> | 37 | </tr> |
| 38 | <tr> | ||
| 39 | <td>Vibrate</td> | ||
| 40 | <td> | ||
| 41 | <input id="input-vibrate" type="checkbox" name="vibrate" value="false"> | ||
| 42 | </td> | ||
| 43 | </tr> | ||
| 38 | </tbody> | 44 | </tbody> |
| 39 | </table> | 45 | </table> |
| 40 | <div class="grid"> | 46 | <div class="grid"> |
| @@ -119,6 +125,9 @@ | |||
| 119 | } | 125 | } |
| 120 | 126 | ||
| 121 | logger_state.inprogress = true; | 127 | logger_state.inprogress = true; |
| 128 | if (document.getElementById("input-vibrate").checked) { | ||
| 129 | navigator.vibrate(200); | ||
| 130 | } | ||
| 122 | log_post(); | 131 | log_post(); |
| 123 | update_ui(); | 132 | update_ui(); |
| 124 | } | 133 | } |
