fix the issue with the keyboard layout indicator not showing up on all monitors.

This commit is contained in:
Hossein Motahari
2024-07-30 12:57:43 +03:00
parent 95c31b5692
commit 01dab4fdfc
3 changed files with 15 additions and 6 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ const SeparatorDot = () => Widget.Revealer({
,
});
export default () => {
export default (monitor = 0) => {
const barTray = Tray();
const barStatusIcons = StatusIcons({
className: 'bar-statusicons',
@@ -38,7 +38,7 @@ export default () => {
self.toggleClassName('bar-statusicons-active', visible);
}
}),
});
}, monitor);
const SpaceRightDefaultClicks = (child) => Widget.EventBox({
onHover: () => { barStatusIcons.toggleClassName('bar-statusicons-hover', true) },
onHoverLost: () => { barStatusIcons.toggleClassName('bar-statusicons-hover', false) },