diff --git a/src/TestPanel.js b/src/TestPanel.js
index afb799f..f3095a7 100644
--- a/src/TestPanel.js
+++ b/src/TestPanel.js
@@ -34,7 +34,7 @@ function EditBox(p) {
clearTimeout(timer1);
};
})
- return {
+ return {
if (e.key==="Enter") {p.setEdit(false)}
else if (e.key==="Escape") {p.setEdit(false)}
}} maxLength={p.maxlength?p.maxlength:20} onBlur={()=>{p.setEdit(false)}} value={p.value} onChange={(f)=>{f.currentTarget.value.length>0?p.setName(f.currentTarget.value):p.setName(p.originalName)}}>
@@ -53,8 +53,8 @@ function EditBoxInput(p) {
return <>
{setEdit(true)}}>
{edit?
-
- :<>{p.data}>}
+
+ :<>{p.prefix}{p.data}>}
>
}
@@ -85,12 +85,14 @@ const [defGraphMax,setdefGraphMax] = useState(1000)
const [author,setauthor] = useState("Player")
const [buildName,setbuildName] = useState("Character")
const [className,setclassName] = useState("Hunter")
-const [subclassName,setsubclassName] = useState("")
+const [subclassName,setsubclassName] = useState("Force")
+const [level,setLevel] = useState(1)
+const [secondaryLevel,setsecondaryLevel] = useState(1)
function Class(p) {
const CLASSES = p.GetData("class")
const class_obj = CLASSES[p.name]
- return class_obj?<>{class_obj.name}>:<>itor>
+ return class_obj?<>{class_obj.name}>:<>>
}
function ClassSelector(p){
@@ -152,12 +154,19 @@ useEffect(()=>{
Class |
-
+
+ |
+
+
+ |
+
+
+ Sub-Class |
+
|
- Lv.{p.classLv}
- Lv.{p.secondaryClassLv}
+
|
diff --git a/src/style.css b/src/style.css
index 4972a77..9161c64 100644
--- a/src/style.css
+++ b/src/style.css
@@ -870,17 +870,17 @@ input#editBoxInput {
width: 100%;
}
.editClass {
+ position: relative;
display: inline-block;
width: 100%;
}
.editClass:hover{
- display: inline-block;
background-color:rgba(0,0,0,0.5);
cursor:pointer;
outline: 2px solid #30cdef;
}
.popup{
- position:absolute;
+ position: absolute;
background-color: rgba(128,128,128,0.9);
max-width: 250px;
min-width: 100px;