Commit Graph

9 Commits

Author SHA1 Message Date
Luke
d872f5fa5f fix(interface/context): don't hide menu when there is no event 2022-05-29 15:32:38 +02:00
Luke
6194b2cc2c fix(interface/context): increment received option id by one 2022-05-29 15:13:29 +02:00
JsSusenka
a5026ed8e9 feat(context): prevent event triggering (#34) 2022-05-28 19:15:35 +02:00
Luke
caa0b8284f fix(client/context): Ensure is ordered correctly
Previously the menu items would be randomly ordered, now they are the order you wrote them to be in.
2022-04-16 11:48:24 +02:00
Luke
282d81500c fix(client/context): Throw error when context id doesn't exist
Opening a context menu before registering it would previously result in the script completely erroring out and having stuck nui focus
2022-04-15 11:27:08 +02:00
Luke
c21054280c fix(client/context): Allow using events to open context menus
There was an issue where if you wanted to open a second context menu using args from the first context menu's item with events, the nui focus would get stuck beacuse it would get set by the event.
2022-04-15 11:26:11 +02:00
Luke
50b1ddd167 feat(web/context): Get open context menu function 2022-04-15 10:22:31 +02:00
Luke
128fb86954 fix(client): Add missing NUI callbacks 2022-04-11 16:14:32 +02:00
Linden
e842185382 feat(resource/interface): export notify 2022-04-11 03:52:25 +00:00