This commit is contained in:
ThatOneCalculator 2022-10-27 15:07:36 -07:00
parent d98c53aa38
commit dc70a33545
2 changed files with 5 additions and 6 deletions

View file

@ -1,6 +1,6 @@
{
"name": "calckey",
"version": "12.119.0-calc.6",
"version": "12.119.0-calc.6.1",
"codename": "aqua",
"repository": {
"type": "git",

View file

@ -11,9 +11,9 @@
</header>
<textarea id="captioninput" v-model="inputValue" autofocus :placeholder="input.placeholder" @keydown="onInputKeydown"></textarea>
<div v-if="(showOkButton || showCaptionButton || showCancelButton)" class="buttons">
<MkButton inline primary :disabled="remainingLength < 0" @click="ok">{{ i18n.ts.ok }}</MkButton>
<MkButton inline @click="caption">{{ i18n.ts.caption }}</MkButton>
<MkButton inline @click="cancel">{{ i18n.ts.cancel }}</MkButton>
<MkButton inline primary :disabled="remainingLength < 0" @click="ok">{{ $ts.ok }}</MkButton>
<MkButton inline @click="caption">{{ $ts.caption }}</MkButton>
<MkButton inline @click="cancel">{{ $ts.cancel }}</MkButton>
</div>
</div>
</div>
@ -33,7 +33,6 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { length } from 'stringz';
import { i18n } from '@/i18n';
import * as os from '@/os';
import MkModal from '@/components/MkModal.vue';
import MkButton from '@/components/MkButton.vue';
@ -64,7 +63,7 @@ export default defineComponent({
},
showCaptionButton: {
type: Boolean,
default: false,
default: true,
},
showCancelButton: {
type: Boolean,