Added bluetooth menu.
This commit is contained in:
@@ -17,6 +17,16 @@ const Bluetooth = () => {
|
||||
children: [btIcon, btText],
|
||||
}),
|
||||
isVisible: true,
|
||||
props: {
|
||||
on_primary_click: (_, event) => {
|
||||
const clickPos = event.get_root_coords();
|
||||
const coords = [clickPos[1], clickPos[2]];
|
||||
|
||||
globalMousePos.value = coords;
|
||||
|
||||
App.toggleWindow("bluetoothmenu");
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user