mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add 'ondefocus' ui event
This commit is contained in:
parent
e6dea9ed48
commit
9befbb9795
3 changed files with 15 additions and 2 deletions
|
|
@ -180,6 +180,10 @@ static void read_uinode(
|
|||
node.listenAction(onclick);
|
||||
}
|
||||
|
||||
if (auto ondefocus = create_action(reader, element, "ondefocus")) {
|
||||
node.listenDefocus(ondefocus);
|
||||
}
|
||||
|
||||
if (auto ondoubleclick = create_action(reader, element, "ondoubleclick")) {
|
||||
node.listenDoubleClick(ondoubleclick);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue