Fix for keyboard layout indicator not showing up on all monitors (#715)

This commit is contained in:
end-4
2024-08-11 08:24:27 +07:00
committed by GitHub
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) },