diff --git a/src/TestPanel.js b/src/TestPanel.js index c4a7984..e0317ac 100644 --- a/src/TestPanel.js +++ b/src/TestPanel.js @@ -214,7 +214,6 @@ function SkillTreeContainer(p){ const [skillTreeGridPaddingX,setSkillTreeGridPaddingX] = useState(10) const [skillTreeGridPaddingY,setSkillTreeGridPaddingY] = useState(48) const [halflineheight,setHalfLineHeight] = useState(60) - const [points,setPoints] = useState(0) useEffect(()=>{ if (Object.keys(p.GetData("skill_tree_data")).length>1) { @@ -246,11 +245,7 @@ function SkillTreeContainer(p){ skillLines={skillTreeData} halflineheight={halflineheight} />}
- -
-
-
Your Skill Points6
-
SP{points}
+
@@ -288,6 +283,7 @@ const [armorSlotSelection,setArmorSlotSelection] = useState(1) const [classNameSetter,setClassNameSetter] = useState(0) +const [points,setPoints] = useState(0) function rarityCheck(v) { return v!==undefined?v.rarity!==undefined?" r"+v.rarity:"":"" @@ -611,9 +607,14 @@ AUGMENT

Class Skill Tree

{ setClassSkillTreeWindowOpen(false) }}>
- cl)} pageDisplay={Object.keys(p.GetData("class")).map((cl)=><> {cl})} currentPage={treePage} setCurrentPage={setTreePage} /> - -
ConfirmCancel
+ cl)} pageDisplay={Object.keys(p.GetData("class")).map((cl)=><> {cl})} currentPage={treePage} setCurrentPage={setTreePage} /> + + +
+
Your Skill Points6
+
SP{points}
+
+
ConfirmCancel
diff --git a/src/style.css b/src/style.css index 53e0162..2a82799 100644 --- a/src/style.css +++ b/src/style.css @@ -533,6 +533,9 @@ li.r4 { .boxmenu img { vertical-align: middle; } +.boxMenuClassIcon { + max-height: 16px; +} .pageControlDetails { background-color: rgba(25, 30, 35, 0.66) !important; margin: 10px 5px 0 auto !important; @@ -751,6 +754,7 @@ div.skillLocked img, div.skillLocked span.skillAllocated, div.skillLocked em.ski } .skillIcon { margin: 0 auto; + max-width: 48px; } .skillAllocated { display: block;