Add Right click to take action (#263)

* Add Right click to take action

* Create Position type and style row with background when selected
This commit is contained in:
Félix Malfait
2023-06-09 18:36:39 +02:00
committed by GitHub
parent f6e1e626fd
commit c53be4febc
5 changed files with 87 additions and 12 deletions

View File

@ -0,0 +1,11 @@
import { atom } from 'recoil';
import { PositionType } from '@/ui/types/PositionType';
export const contextMenuPositionState = atom<PositionType>({
key: 'contextMenuPositionState',
default: {
x: null,
y: null,
},
});