Luke
0e7bd1a177
feat(web): onSelect function for options
2022-08-17 21:41:05 +02:00
Luke
780371f644
feat(interface/context): onExit function
...
Allows defining a function in the menu that must be called onExit which is going to execute every time the user exits the context menu with ESC
2022-06-04 14:42:35 +02:00
DokaDoka
d2178ca258
fix(interface/context): correct id if a float is received
...
- the array part of a mixed options table registers a '1.0' and so on, this is not how the option is recorded on the lua side
2022-06-04 22:12:04 +10:00
Luke
6108016796
feat(interface/context): ability to forcefully hide the context menu
2022-05-30 16:39:02 +02:00
Luke
f6c1871e54
fix(interface/context): set openContextMenu to nil when closing a menu
2022-05-30 16:34:13 +02:00
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