mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add 'onrightclick' uinode event
This commit is contained in:
parent
645f150ff2
commit
1fd81da82e
4 changed files with 20 additions and 1 deletions
|
|
@ -181,6 +181,10 @@ static void read_uinode(
|
|||
node.listenAction(onclick);
|
||||
}
|
||||
|
||||
if (auto onclick = create_action(reader, element, "onrightclick")) {
|
||||
node.listenRightClick(onclick);
|
||||
}
|
||||
|
||||
if (auto onfocus = create_action(reader, element, "onfocus")) {
|
||||
node.listenFocus(onfocus);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue