mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
combine uinode actions callbacks sets & cleanup
This commit is contained in:
parent
f9bab5a5cf
commit
95721a6864
5 changed files with 53 additions and 31 deletions
|
|
@ -178,7 +178,7 @@ static void read_uinode(
|
|||
}
|
||||
|
||||
if (auto onclick = create_action(reader, element, "onclick")) {
|
||||
node.listenAction(onclick);
|
||||
node.listenClick(onclick);
|
||||
}
|
||||
|
||||
if (auto onfocus = create_action(reader, element, "onfocus")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue