Skip to content

Commit 12ca2fd

Browse files
committed
修正
1. 使輸入與選擇欄位排版一致 2. 添加自動產生的檔案名稱與插件參數的類型定義
1 parent feb4871 commit 12ca2fd

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
}
116116

117117
.sub_title {
118-
width: 176px;
118+
width: 133px;
119119
}
120120

121121
.origin_name {
@@ -224,6 +224,11 @@
224224
height: 25px;
225225
}
226226

227+
.list_cell>input,
228+
.list_cell>select {
229+
flex: 7;
230+
}
231+
227232
.group_list_cell {
228233
padding-left: 1em;
229234
}
@@ -290,7 +295,7 @@
290295
}
291296

292297
.sub_title {
293-
width: 102px;
298+
width: 80px;
294299
}
295300

296301
.block .origin_name {
@@ -333,7 +338,7 @@
333338

334339
@media (max-width: 700px) {
335340
.sub_title {
336-
width: 109px;
341+
width: 70px;
337342
}
338343

339344
#build_result_button {

src/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,6 +1100,11 @@ monaco.languages.typescript.javascriptDefaults.setCompilerOptions({
11001100
});
11011101

11021102
const libSource = `
1103+
/** 檔案名稱 */
1104+
const FILENAME: ?string
1105+
/** 插件參數 */
1106+
const PARAMETERS: { [name: string]: ?string }
1107+
11031108
/** [原始數據]於資料庫定義,來自 Actors.json 的可操控角色資料 */
11041109
var $dataActors: DataActors
11051110
/** [原始數據]於資料庫定義,來自 Classes.json 的職業資料 */

0 commit comments

Comments
 (0)