mirror of
https://github.com/thepaperpilot/Planar-Pioneers.git
synced 2024-11-24 17:31:47 +00:00
Fix action not being marked selected
This commit is contained in:
parent
0b517cb48b
commit
1ed499b720
2 changed files with 4 additions and 3 deletions
|
@ -11,6 +11,7 @@
|
||||||
:is-selected="isSelected"
|
:is-selected="isSelected"
|
||||||
:node="node"
|
:node="node"
|
||||||
:node-type="nodeType"
|
:node-type="nodeType"
|
||||||
|
:selected-action="selectedAction"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<g
|
<g
|
||||||
|
@ -160,8 +161,8 @@ const _props = defineProps<{
|
||||||
};
|
};
|
||||||
hasDragged?: boolean;
|
hasDragged?: boolean;
|
||||||
receivingNode?: boolean;
|
receivingNode?: boolean;
|
||||||
selectedNode?: BoardNode | null;
|
selectedNode: BoardNode | null;
|
||||||
selectedAction?: GenericBoardNodeAction | null;
|
selectedAction: GenericBoardNodeAction | null;
|
||||||
}>();
|
}>();
|
||||||
const props = toRefs(_props);
|
const props = toRefs(_props);
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
|
|
|
@ -48,7 +48,7 @@ const _props = defineProps<{
|
||||||
nodeType: GenericNodeType;
|
nodeType: GenericNodeType;
|
||||||
actions?: GenericBoardNodeAction[];
|
actions?: GenericBoardNodeAction[];
|
||||||
isSelected: boolean;
|
isSelected: boolean;
|
||||||
selectedAction?: GenericBoardNodeAction;
|
selectedAction: GenericBoardNodeAction | null;
|
||||||
}>();
|
}>();
|
||||||
const props = toRefs(_props);
|
const props = toRefs(_props);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue