scratchpad

This commit is contained in:
ThatOneCalculator 2023-02-08 19:32:15 -08:00
parent 048746210a
commit 73683de708
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
3 changed files with 13 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "13.1.3-beta5", "version": "13.1.3-beta6",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -107,10 +107,15 @@ function openHelpMenu(ev: MouseEvent) {
icon: 'ph-terminal-window-bold ph-lg', icon: 'ph-terminal-window-bold ph-lg',
}, { }, {
text: i18n.ts.document, text: i18n.ts.document,
icon: 'ph-plugs-bold ph-lg', icon: 'ph-file-doc-bold ph-lg',
action: () => { action: () => {
window.open('/api-doc', '_blank'); window.open('/api-doc', '_blank');
}, },
}, {
type: 'link',
to: '/scratchpad',
text: 'AiScript Scratchpad',
icon: 'ph-scribble-loop-bold ph-lg',
}] }]
}], ev.currentTarget ?? ev.target, { }], ev.currentTarget ?? ev.target, {
align: 'left', align: 'left',

View File

@ -165,10 +165,15 @@ function openHelpMenu(ev: MouseEvent) {
icon: 'ph-terminal-window-bold ph-lg', icon: 'ph-terminal-window-bold ph-lg',
}, { }, {
text: i18n.ts.document, text: i18n.ts.document,
icon: 'ph-plugs-bold ph-lg', icon: 'ph-file-doc-bold ph-lg',
action: () => { action: () => {
window.open('/api-doc', '_blank'); window.open('/api-doc', '_blank');
}, },
}, {
type: 'link',
to: '/scratchpad',
text: 'AiScript Scratchpad',
icon: 'ph-scribble-loop-bold ph-lg',
}] }]
}], ev.currentTarget ?? ev.target, { }], ev.currentTarget ?? ev.target, {
align: 'left', align: 'left',