Minimum value for label position is 0, not 1.

This commit is contained in:
Isaac Connor 2020-09-22 13:12:39 -04:00
parent 2f03ceeccf
commit 2457dcb16f
1 changed files with 2 additions and 2 deletions

View File

@ -1031,11 +1031,11 @@ include('_monitor_source_nvsocket.php');
</tr>
<tr>
<td><?php echo translate('TimestampLabelX') ?></td>
<td><input type="number" name="newMonitor[LabelX]" value="<?php echo validHtmlStr($monitor->LabelX()) ?>" min="1"/></td>
<td><input type="number" name="newMonitor[LabelX]" value="<?php echo validHtmlStr($monitor->LabelX()) ?>" min="0"/></td>
</tr>
<tr>
<td><?php echo translate('TimestampLabelY') ?></td>
<td><input type="number" name="newMonitor[LabelY]" value="<?php echo validHtmlStr($monitor->LabelY()) ?>" min="1"/></td>
<td><input type="number" name="newMonitor[LabelY]" value="<?php echo validHtmlStr($monitor->LabelY()) ?>" min="0"/></td>
</tr>
<tr>
<td><?php echo translate('TimestampLabelSize') ?></td>