mirror of
https://github.com/ad044/lainTSX.git
synced 2024-10-22 15:09:05 +00:00
fix node extra info display
This commit is contained in:
parent
b9d32d8f2f
commit
41670f6f56
1 changed files with 9 additions and 0 deletions
|
@ -196,6 +196,15 @@ const HUD = () => {
|
|||
);
|
||||
}, [nodeMatrixIndex, prev?.scene, subscene]);
|
||||
|
||||
|
||||
// toggling extra node info display
|
||||
useEffect(() => {
|
||||
if (protocolLinesEnabled) {
|
||||
const hud = getNodeHud(nodeMatrixIndex);
|
||||
setHud(hud, false);
|
||||
}
|
||||
}, [nodeMatrixIndex, protocolLinesEnabled]);
|
||||
|
||||
// changing node
|
||||
useEffect(() => {
|
||||
if (subscene !== MainSubscene.Site) {
|
||||
|
|
Loading…
Reference in a new issue