slight updates to the contextmenu class

This commit is contained in:
MathMan05 2024-09-02 21:51:31 -05:00
parent f745ec01b5
commit fb416498d5

View file

@ -27,7 +27,7 @@ class Contextmenu<x,y>{
this.buttons.push([text,onclick,img,shown,enabled,"submenu"]);
return{};
}
makemenu(x:number,y:number,addinfo:any,other:y){
private makemenu(x:number,y:number,addinfo:x,other:y){
const div=document.createElement("div");
div.classList.add("contextmenu","flexttb");