mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-13 11:15:51 +00:00
refactor: providing some additional variables for theme support
This commit is contained in:
@@ -130,6 +130,7 @@ export function useSolarSystemNode(props: any) {
|
|||||||
|
|
||||||
const nodeVars = {
|
const nodeVars = {
|
||||||
// original props
|
// original props
|
||||||
|
id,
|
||||||
selected,
|
selected,
|
||||||
// computed
|
// computed
|
||||||
visible,
|
visible,
|
||||||
@@ -152,13 +153,18 @@ export function useSolarSystemNode(props: any) {
|
|||||||
effectName: effect_name,
|
effectName: effect_name,
|
||||||
regionName: region_name,
|
regionName: region_name,
|
||||||
solarSystemId: solar_system_id,
|
solarSystemId: solar_system_id,
|
||||||
|
solarSystemName: solar_system_name,
|
||||||
locked,
|
locked,
|
||||||
hubs,
|
hubs,
|
||||||
|
name: name,
|
||||||
|
isConnecting,
|
||||||
|
hoverNodeId,
|
||||||
charactersInSystem,
|
charactersInSystem,
|
||||||
unsplashedLeft,
|
unsplashedLeft,
|
||||||
unsplashedRight,
|
unsplashedRight,
|
||||||
isThickConnections,
|
isThickConnections,
|
||||||
classTitle: class_title,
|
classTitle: class_title,
|
||||||
|
temporaryName: temporary_name,
|
||||||
};
|
};
|
||||||
|
|
||||||
return nodeVars;
|
return nodeVars;
|
||||||
|
|||||||
Reference in New Issue
Block a user