Delete mods/comments.js
This commit is contained in:
parent
9f66432b2f
commit
b62fe32b8c
|
|
@ -1,37 +0,0 @@
|
|||
let comment = ""
|
||||
dependOn(
|
||||
"debris.js",
|
||||
() => {
|
||||
elements.comment = {
|
||||
color: "#222222",
|
||||
state: "solid",
|
||||
onSelect: () => {
|
||||
promptInput("Enter the comment text",
|
||||
(result) => {
|
||||
if (result) {
|
||||
comment = result
|
||||
}
|
||||
},
|
||||
"comments.js is asking you...",
|
||||
"")
|
||||
},
|
||||
tick: (pixel) => {
|
||||
if (pixel.start == pixelTicks) {
|
||||
pixel.text = comment
|
||||
pixel.cid = debris({
|
||||
type: "text",
|
||||
text: pixel.text,
|
||||
color: "#fff",
|
||||
size: 14,
|
||||
x: pixel.x,
|
||||
y: pixel.y
|
||||
})
|
||||
}
|
||||
},
|
||||
onDelete: (pixel) => {
|
||||
removeDebris(pixel.cid)
|
||||
}
|
||||
}
|
||||
},
|
||||
true
|
||||
)
|
||||
Loading…
Reference in New Issue