Skip to content

Commit f9ddef4

Browse files
committed
Fix notify pop sound, and also change client settings to setting icon
1 parent 0551b03 commit f9ddef4

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

src/chat/elementjson/chat-styles.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,7 +1594,7 @@ a {
15941594
position: absolute;
15951595
}
15961596
.notificationImage:hover {
1597-
filter: brightness(10);
1597+
filter: brightness(100);
15981598
}
15991599

16001600
.notificationsDiv {

src/chat/interface/chatinterface.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ var KnownUserList = require("./userlist-menu.js");
541541
json.color,
542542
json.font
543543
);
544-
if (clientSettings.getSetting("INTERFACE_SOUNDS")) {
544+
if (clientSettings.getSetting("UI_SOUNDS")) {
545545
sounds.play("notify", 1);
546546
}
547547
if (clientSettings.getSetting("CHAT_NOTIFY")) {

src/chat/interface/menubar.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,17 @@ var menuItems = [
8989
{
9090
element: "div",
9191
className: "menuBarItem",
92-
textContent: "Client settings",
92+
style: {
93+
padding: "0px 0px",
94+
width: "40px",
95+
},
96+
children: [
97+
{
98+
element: "img",
99+
className: "notificationImage",
100+
src: "images/settings.svg",
101+
},
102+
],
93103
eventListeners: [
94104
{
95105
event: "click",

wpstatic/images/settings.svg

Lines changed: 1 addition & 1 deletion
Loading

wpstatic/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"timestamp":"1762173081817"}
1+
{"timestamp":"1762267162843"}

0 commit comments

Comments
 (0)