Skip to content

Commit 9cc2b36

Browse files
committed
- Make Chat selector consistent
1 parent ef8df34 commit 9cc2b36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/script.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
//Enable "Add App" button for Alt1 Browser.
22
A1lib.identifyApp("appconfig.json");
33

4+
const appColor = A1lib.mixColor(0, 255, 0);
5+
46
let reader = new Chatbox.default();
57
reader.readargs = {
68
colors: [
@@ -20,7 +22,7 @@ function showSelectedChat(chat) {
2022
//Attempt to show a temporary rectangle around the chatbox. skip if overlay is not enabled.
2123
try {
2224
alt1.overLayRect(
23-
A1lib.mixColor(0, 255, 0),
25+
appColor,
2426
chat.mainbox.rect.x,
2527
chat.mainbox.rect.y,
2628
chat.mainbox.rect.width,

0 commit comments

Comments
 (0)