mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-19 18:28:33 +00:00
* radial menu improvements * addressing comments from Luke * removing uneeded comments * style(web/radial): remove icon scaling, increase number of items on page * style(web/radial): cursor pointer, remove stroke, container overflow --------- Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
22 lines
782 B
TypeScript
22 lines
782 B
TypeScript
import { debugData } from '../../../utils/debugData';
|
|
import type { RadialMenuItem } from '../../../typings';
|
|
|
|
export const debugRadial = () => {
|
|
debugData<{ items: RadialMenuItem[]; sub?: boolean }>([
|
|
{
|
|
action: 'openRadialMenu',
|
|
data: {
|
|
items: [
|
|
{ icon: 'palette', label: 'Paint' },
|
|
{ iconWidth: 35, iconHeight: 35, icon: 'https://icon-library.com/images/white-icon-png/white-icon-png-18.jpg', label: 'External icon'},
|
|
{ icon: 'warehouse', label: 'Garage' },
|
|
{ icon: 'palette', label: 'Quite Long Text' },
|
|
{ icon: 'palette', label: 'Fahrzeuginteraktionen' },
|
|
{ icon: 'palette', label: 'Fahrzeuginteraktionen' },
|
|
{ icon: 'palette', label: 'Paint' },
|
|
],
|
|
},
|
|
},
|
|
]);
|
|
};
|