Commit Graph

352 Commits

Author SHA1 Message Date
Luke
4490b4476c fix(web/menu): offset default index
Linden's amazin' index fix
2022-08-04 15:04:49 +02:00
Luke
32a698c043 feat(menu): lib.hideMenu 2022-08-04 15:04:49 +02:00
Luke
cf2c45687a refactor(menu): split side and vertical scroll change handlers
Resolves an issue where changing to the next button while scrolling a horizontal list would not trigger the onChange function for the previous button
2022-08-04 15:04:49 +02:00
Linden
c662368cd4 fix(client/interface): changeSelected args 2022-08-04 15:04:49 +02:00
Luke
37c10f570b feat(client/interface): menu close arg on button 2022-08-04 15:04:49 +02:00
Luke
853cec6049 feat(client/interface): allow replacing specific index in menu options 2022-08-04 15:04:49 +02:00
Luke
a4b25bddf0 feat(web/menu): allow passing default index for horizontal lists 2022-08-04 15:04:49 +02:00
Luke
873b531da7 fix(client/interface): fix indexing registered menu options with table 2022-08-04 15:04:49 +02:00
Luke
ee6baafc0c feat(client/interface): allow separately setting list menu options 2022-08-04 15:04:49 +02:00
Luke
ac7a87cc5b feat(client/interface): list menu error catching 2022-08-04 15:04:49 +02:00
Luke
dde7daddb7 fix(client/interface): allow reregistering list menus 2022-08-04 15:04:49 +02:00
Luke
33bd3ebc77 feat(web/menu): send args in callback function 2022-08-04 15:04:49 +02:00
Luke
34fe33000f feat(web/menu): display arrow when menu is scrollable 2022-08-04 15:04:49 +02:00
Luke
dcce65d472 feat(web/menu): reset indexes on next last item 2022-08-04 15:04:49 +02:00
Luke
95201aba1d fix(web/menu): use same font for tooltip 2022-08-04 15:04:49 +02:00
Luke
2def3ba7b3 fix(web/menu): don't render no label buttons 2022-08-04 15:04:49 +02:00
Luke
fd8b3c9862 fix(web/menu): fix scrolling clipping menu items 2022-08-04 15:04:49 +02:00
Luke
ed3e7ac733 feat(web/menu): include backspace in close keys 2022-08-04 15:04:49 +02:00
Luke
ce0bea3259 fix(web/menu): set selected index to 0 on menu open 2022-08-04 15:04:49 +02:00
Luke
7b147b04fc feat(web/menu): tooltip description support 2022-08-04 15:04:49 +02:00
Luke
4236dd2bfd feat(web/menu): exit listener and onClose function 2022-08-04 15:04:49 +02:00
Luke
6ef17e83f5 feat(web/menu): visibility handling 2022-08-04 15:04:49 +02:00
Luke
e97bd98726 fix(web/menu): fix selected value focus getting stuck on another menu 2022-08-04 15:04:49 +02:00
Luke
31d582df9c fix(web/menu): fix not being able to press enter on first button index 2022-08-04 15:04:49 +02:00
Luke
bde843f803 feat(web/menu): enter callback function 2022-08-04 15:04:49 +02:00
Luke
d48ca25c7b feat(web/menu): initial list menu Lua api 2022-08-04 15:04:49 +02:00
Luke
aa9b1334f2 fix(web/menu): debounce menu item selected callback 2022-08-04 15:04:49 +02:00
Luke
a2b5ccb354 feat(web/menu): confirm on enter callback 2022-08-04 15:04:49 +02:00
Luke
6d52ecf985 feat(web/menu): fetchnui on item change 2022-08-04 15:04:49 +02:00
Luke
4744df337f feat(web/menu): add current and max option count into the list button 2022-08-04 15:04:49 +02:00
Luke
fd45418a5d style(web/menu): change menu header font and weight 2022-08-04 15:04:49 +02:00
Luke
e81a05aa2d fix(web/menu): set pointer events to none on body div
Fixes and issue where you could click the menu to take away focus and make it non interactable
2022-08-04 15:04:49 +02:00
Luke
700fdbc3fe refactor(web/menu): separate header and body divs
This allows for the header to be visible even when scrolling through the menu items
2022-08-04 15:04:49 +02:00
Luke
a43b5eee04 feat(web/menu): list menu icon support 2022-08-04 15:04:49 +02:00
Luke
43ffa86387 refactor(web/menu): improve list menu text alignment 2022-08-04 15:04:49 +02:00
Luke
3f33b690e1 feat(web/menu): array side scrolling 2022-08-04 15:04:49 +02:00
Luke
3b9c8c5534 fix(web/menu): focus on first menu item on load 2022-08-04 15:04:49 +02:00
Luke
196d400c56 feat(web/menu): menu list focus trapping 2022-08-04 15:04:49 +02:00
Luke
98b9e224ef refactor(web/menu): list menu component split 2022-08-04 15:04:49 +02:00
Luke
933acd2852 refactor(web/menu): improve menu focus handling 2022-08-04 15:04:49 +02:00
Luke
303d81c196 feat(web/menu): initial list menu design
Highly subject to change
2022-08-04 15:04:49 +02:00
ANTOND
e1bc9a5015 feat(locales): Update czech and slovak translation (#64) 2022-08-04 19:06:54 +10:00
Dolbajoba
10ea0b1fc0 fix(locales): update Estonian translation (#63) 2022-08-03 21:11:26 +02:00
Linden
28003c942d fix(client/streaming): invalid print argument 2022-08-04 02:05:09 +10:00
Linden
93fc595030 fix(client/streaming): timeout 2022-08-04 01:32:54 +10:00
Linden
1b05f87c8e tweak(client/streaming): rewrite
Was going to split into separate imports, then
remembered why I didn't in the first place.
Improved annotations.
Changed timeout into a for loop, and increase default to 500 ticks.
Less variable reassignments.
Allow functions to be called outside threads, but will not check if the
request was successful (has loaded).
2022-08-03 22:58:50 +10:00
Linden
a45584ac78 Revert "feat(imports): loadAnimDict"
This reverts commit 77fb9cf637.
2022-08-03 21:57:03 +10:00
Linden
77fb9cf637 feat(imports): loadAnimDict 2022-08-03 17:27:58 +10:00
Linden
68a6352be4 feat(imports): getClosestPlayer 2022-08-03 17:26:51 +10:00
Linden
ee12035a50 feat(imports): raycast module
Just lib.raycast.cam for now.
2022-08-03 17:22:45 +10:00