mirror of
https://github.com/igorski/bitmappery.git
synced 2026-07-26 16:57:43 +02:00
Allow using alternate ratios when holding down shift during rectangular selection creation
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"en-US": {
|
||||
"selection": "Selection",
|
||||
"lockedRatio": "Locked ratio",
|
||||
"lockRatio": "Lock ratio",
|
||||
"shiftKey": "Hold Shift while drawing selection",
|
||||
"mergeDescr": "Hold shift prior to drawing a new selection to add to the existing selection.",
|
||||
"widthToHeight": "Width : height",
|
||||
"existingSelection": "Existing selection",
|
||||
"coordinates": "Coordinates",
|
||||
|
||||
@@ -27,10 +27,9 @@
|
||||
@focusout="handleBlur"
|
||||
>
|
||||
<h3 v-t="'selection'"></h3>
|
||||
<p v-t="'mergeDescr'"></p>
|
||||
<template v-if="!isLassoSelection">
|
||||
<div class="wrapper input">
|
||||
<label v-t="'lockedRatio'" v-tooltip="$t('shiftKey')"></label>
|
||||
<label v-t="'lockRatio'" v-tooltip="$t('shiftKey')"></label>
|
||||
<toggle-button
|
||||
v-model="maintainRatio"
|
||||
name="ratio"
|
||||
@@ -44,13 +43,13 @@
|
||||
type="number"
|
||||
v-model.number="xRatio"
|
||||
class="input-field half"
|
||||
:disabled="!activeLayer || !maintainRatio"
|
||||
:disabled="!activeLayer"
|
||||
/>
|
||||
<input
|
||||
type="number"
|
||||
v-model.number="yRatio"
|
||||
class="input-field half"
|
||||
:disabled="!activeLayer || !maintainRatio"
|
||||
:disabled="!activeLayer"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
"magicWand": "Magic wand",
|
||||
"sampleMerged": "Sample merged layers",
|
||||
"threshold": "Threshold",
|
||||
"wandDescr": "Select a region by color similarity. Hold shift while selecting a region to add to the existing selection."
|
||||
"wandDescr": "Select a region by color similarity."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user