nits: typos and case
This commit is contained in:
parent
61c76f980a
commit
76ae797a9e
2 changed files with 4 additions and 6 deletions
|
@ -3,11 +3,9 @@
|
|||
|
||||
var dimensionInfoPattern = '{{width}} x {{height}} px, {{frames}}<br/>{{columns}}, {{rows}}.';
|
||||
|
||||
// Shortcut to pskl.utils.Template.replace
|
||||
var replace = pskl.utils.Template.replace;
|
||||
|
||||
// Helper to return "X items" or "1 item" if X is 1. Can be cnsidered as an overkill,
|
||||
// but the one-liner equivalent is hard to read.
|
||||
// Helper to return "X items" or "1 item" if X is 1.
|
||||
var pluralize = function (word, count) {
|
||||
if (count === 1) {
|
||||
return '1 ' + word;
|
||||
|
@ -120,7 +118,7 @@
|
|||
value = 1;
|
||||
}
|
||||
|
||||
// Force the value to be in bounds, in the user tried to update it by directly typing
|
||||
// Force the value to be in bounds, if the user tried to update it by directly typing
|
||||
// a value.
|
||||
value = pskl.utils.Math.minmax(value, 1, this.piskelController.getFrameCount());
|
||||
this.columnsInput.value = value;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
</div>
|
||||
|
||||
<div class="settings-item">
|
||||
<label for="grid-width">Pixel Grid</label>
|
||||
<label for="grid-width">Pixel grid</label>
|
||||
<select id="grid-width" class="grid-width-select">
|
||||
<option value="0">Disabled</option>
|
||||
<option value="1">1px</option>
|
||||
|
@ -35,7 +35,7 @@
|
|||
</div>
|
||||
|
||||
<div class="settings-item">
|
||||
<label>Layer Opacity</label>
|
||||
<label>Layer opacity</label>
|
||||
<input type="range" class="settings-opacity-input layer-opacity-input" name="layer-opacity" min="0" max="1" step="0.05"/>
|
||||
<span class="settings-opacity-text layer-opacity-text"></span>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue