DurtyFree / alt-V-NativeUI

NativeUI for GTA V alt:V Multiplayer mod written in Javascript / TypeScript
https://altv.mp/
Apache License 2.0
48 stars 26 forks source link

UIMenuDynamicListItem - Arrows misplaced #3

Closed jokeruarwentto closed 4 years ago

jokeruarwentto commented 4 years ago

Bug When you don't chose any options on a UIMenuDynamicListItem, the arrows are misplaced. You should any items, and the arrows are placed well.

Step to reproduce ` let array = ["0", "1"]

let menu = new NativeUI.Menu(
  "Title",
  "Subtitle",
  new NativeUI.Point(50, 50)
)

let item = new NativeUI.UIMenuDynamicListItem(
  "Item Name",
  itemChangeHandle,
  "Description",
  () => array[0]
)

menu.AddItem(item)

`

Screenshots Arrows misplaced

DurtyFree commented 4 years ago

Heya, thanks for reporting. It is now fixed in the latest update.